scnlib  0.1.2
FormattedinputformodernC++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
scn::detail::named_arg< T, CharT > Struct Template Reference

#include <args.h>

Inheritance diagram for scn::detail::named_arg< T, CharT >:
scn::detail::named_arg_base< CharT >

Public Types

using base = named_arg_base< CharT >
 
- Public Types inherited from scn::detail::named_arg_base< CharT >
using context_type = typename dummy_context< CharT >::type
 
using arg_type = basic_arg< context_type >
 
using storage_type = typename std::aligned_storage< sizeof(arg_type), alignof(arg_type)>::type
 

Public Member Functions

 named_arg (basic_string_view< CharT > name, T &val)
 
- Public Member Functions inherited from scn::detail::named_arg_base< CharT >
 named_arg_base (basic_string_view< CharT > n)
 
template<typename Context >
basic_arg< Context > deserialize ()
 

Public Attributes

T * value
 
- Public Attributes inherited from scn::detail::named_arg_base< CharT >
basic_string_view< CharT > name
 
storage_type data
 

Detailed Description

template<typename T, typename CharT>
struct scn::detail::named_arg< T, CharT >

Definition at line 60 of file args.h.

Member Typedef Documentation

template<typename T, typename CharT>
using scn::detail::named_arg< T, CharT >::base = named_arg_base<CharT>

Definition at line 377 of file context.h.

Constructor & Destructor Documentation

template<typename T, typename CharT>
scn::detail::named_arg< T, CharT >::named_arg ( basic_string_view< CharT >  name,
T &  val 
)
inline

Definition at line 379 of file context.h.

Member Data Documentation

template<typename T, typename CharT>
T* scn::detail::named_arg< T, CharT >::value

Definition at line 384 of file context.h.


The documentation for this struct was generated from the following files: