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

A tag exposing a static constexpr std::string_view name, used by display_string and the COMMONS_DEFINE_*_ID macros. More...

#include <id.hpp>

Concept definition

template<class Tag>
concept comms::NamedIdTag = requires {
{ Tag::name } -> std::convertible_to<std::string_view>;
}
A tag exposing a static constexpr std::string_view name, used by display_string and the COMMONS_DEFIN...
Definition id.hpp:87

Detailed Description

A tag exposing a static constexpr std::string_view name, used by display_string and the COMMONS_DEFINE_*_ID macros.