commons 0.1.5
Header-only C++23 library of common/shared types for the C++ libraries
Loading...
Searching...
No Matches
comms::AnyFlag Concept Reference

Any flag type: a name plus a category member type that is itself an AnyFlagCategory. More...

#include <flag.hpp>

Concept definition

template<typename F>
concept comms::AnyFlag = requires {
{ F::name } -> std::convertible_to<std::string_view>;
typename F::category;
}
Any type that exposes a name convertible to std::string_view — satisfied by FlagCategory<Name> and ty...
Definition flag.hpp:91
Any flag type: a name plus a category member type that is itself an AnyFlagCategory.
Definition flag.hpp:98

Detailed Description

Any flag type: a name plus a category member type that is itself an AnyFlagCategory.