4.0.0
Freundlich's C++ toolkit
Public Types | Public Member Functions
fcppt::record::element_init< Tag, Type > Class Template Reference

Detailed Description

template<typename Tag, typename Type>
class fcppt::record::element_init< Tag, Type >

The type produced by initializing a single record element.

Public Types

using tag = Tag
 
using value_type = Type
 

Public Member Functions

 element_init (value_type)
 
value_typevalue ()
 

Member Typedef Documentation

◆ tag

template<typename Tag , typename Type >
using fcppt::record::element_init< Tag, Type >::tag = Tag

◆ value_type

template<typename Tag , typename Type >
using fcppt::record::element_init< Tag, Type >::value_type = Type

Constructor & Destructor Documentation

◆ element_init()

template<typename Tag , typename Type >
fcppt::record::element_init< Tag, Type >::element_init ( value_type  )
explicit

Member Function Documentation

◆ value()

template<typename Tag , typename Type >
value_type & fcppt::record::element_init< Tag, Type >::value ( )