4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::record::label< Tag > Struct Template Reference

Detailed Description

template<typename Tag>
struct fcppt::record::label< Tag >

A type identifying an element of a record.

Template Parameters
TagAn implementation-defined type, passed by FCPPT_RECORD_MAKE_LABEL.

Public Types

using tag = Tag
 

Public Member Functions

template<typename Arg >
fcppt::record::element_init< Tag, std::remove_cvref_t< Arg > > operator= (Arg &&)
 Creates a value used to initialize an element of a record.
 

Member Typedef Documentation

◆ tag

template<typename Tag >
using fcppt::record::label< Tag >::tag = Tag

Member Function Documentation

◆ operator=()

template<typename Tag >
template<typename Arg >
fcppt::record::element_init< Tag, std::remove_cvref_t< Arg > > fcppt::record::label< Tag >::operator= ( Arg && )

Creates a value used to initialize an element of a record.