commons 0.1.5
Header-only C++23 library of common/shared types for the C++ libraries
Loading...
Searching...
No Matches
comms::Flag< Name, Category > Struct Template Reference

A compile-time flag: a distinct type named by Name and belonging to Category (defaulting to UnsetFlagCategory). More...

#include <flag.hpp>

Detailed Description

template<FixedString Name, typename Category = UnsetFlagCategory>
struct comms::Flag< Name, Category >

A compile-time flag: a distinct type named by Name and belonging to Category (defaulting to UnsetFlagCategory).

The category alias exposes the category type; category_name mirrors Category::name for convenience.


The documentation for this struct was generated from the following file: