4.6.1
Freundlich's C++ toolkit
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
fcppt::options::state_with_value< T > Class Template Reference

Detailed Description

template<typename T>
class fcppt::options::state_with_value< T >

A parse state together with a value.

Public Member Functions

 state_with_value (fcppt::options::state &&, T &&)
 
fcppt::options::statestate ()
 
fcppt::options::state const & state () const
 
T & value ()
 
T const & value () const
 

Constructor & Destructor Documentation

◆ state_with_value()

template<typename T>
fcppt::options::state_with_value< T >::state_with_value ( fcppt::options::state && ,
T &&  )

Member Function Documentation

◆ state() [1/2]

template<typename T>
fcppt::options::state & fcppt::options::state_with_value< T >::state ( )
nodiscard

◆ state() [2/2]

template<typename T>
fcppt::options::state const & fcppt::options::state_with_value< T >::state ( ) const
nodiscard

◆ value() [1/2]

template<typename T>
T & fcppt::options::state_with_value< T >::value ( )
nodiscard

◆ value() [2/2]

template<typename T>
T const & fcppt::options::state_with_value< T >::value ( ) const
nodiscard