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

Whether flag F may go into a set constrained to Categories...: any flag when the list is empty (unconstrained), otherwise only flags whose category is one of Categories.... More...

#include <flag.hpp>

Concept definition

template<typename F, typename... Categories>
AnyFlag<F> && (sizeof...(Categories) == 0 || (FlagInCategory<F, Categories> || ...))
Whether flag F may go into a set constrained to Categories...: any flag when the list is empty (uncon...
Definition flag.hpp:307
Any flag type: a name plus a category member type that is itself an AnyFlagCategory.
Definition flag.hpp:98
A flag whose category is exactly Category.
Definition flag.hpp:106

Detailed Description

Whether flag F may go into a set constrained to Categories...: any flag when the list is empty (unconstrained), otherwise only flags whose category is one of Categories....