//          Copyright Carl Philipp Reh 2009 - 2021.
// Distributed under the Boost Software License, Version 1.0.
//    (See accompanying file LICENSE_1_0.txt or copy at
//          http://www.boost.org/LICENSE_1_0.txt)

#ifndef FCPPT_OPTIONS_IMPL_IS_FLAG_HPP_INCLUDED
#define FCPPT_OPTIONS_IMPL_IS_FLAG_HPP_INCLUDED

#include <fcppt/string_view.hpp>
#include <fcppt/optional/object_impl.hpp>
#include <fcppt/options/is_short.hpp>
#include <fcppt/config/external_begin.hpp>
#include <utility>
#include <fcppt/config/external_end.hpp>

namespace fcppt::options::impl
{
[[nodiscard]]
fcppt::optional::object<std::pair<fcppt::options::is_short, fcppt::string_view>>
    is_flag(fcppt::string_view);
}

#endif
