kumi v3.1.0
Exquisite Epidote
Loading...
Searching...
No Matches

Compile-time text based ID. More...

#include <kumi/utils/identifier.hpp>

Detailed Description

template<str ID>
struct kumi::name< ID >

Compile-time text based ID.

Template Parameters
IDCompile-time string for the ID

Public Member Functions

template<typename T>
constexpr field< tag_type, std::unwrap_ref_decay_t< T > > operator= (T &&v) const noexcept
 Assignment of a value to a identifier.

Friends

constexpr str to_str (name< ID > const &)
 A name field str representation is it s owned str.

(Note that these are not member symbols.)

template<typename CharT, typename Traits>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &os, name const &) noexcept
 Output stream insertion.