Public Member Functions | Public Attributes | List of all members
internal::named_arg_base< Char > Struct Template Reference

#include <core.h>

Inheritance diagram for internal::named_arg_base< Char >:
internal::named_arg< T, Char >

Public Member Functions

 named_arg_base (basic_string_view< Char > nm)
 
template<typename Context >
basic_format_arg< Context > deserialize () const
 

Public Attributes

basic_string_view< Char > name
 
char data [ sizeof(basic_format_arg< typename buffer_context< Char >::type >)]
 

Detailed Description

template<typename Char>
struct internal::named_arg_base< Char >

Definition at line 525 of file core.h.

Constructor & Destructor Documentation

template<typename Char>
internal::named_arg_base< Char >::named_arg_base ( basic_string_view< Char >  nm)
inline

Definition at line 1332 of file core.h.

1332 : name(nm) {}
basic_string_view< Char > name
Definition: core.h:1326

Member Function Documentation

template<typename Char>
template<typename Context >
basic_format_arg<Context> internal::named_arg_base< Char >::deserialize ( ) const
inline

Definition at line 1335 of file core.h.

1335  {
1337  std::memcpy(&arg, data, sizeof(basic_format_arg<Context>));
1338  return arg;
1339  }
internal::named_arg< T, char > arg(string_view name, const T &arg)
Definition: core.h:1391
char data[ sizeof(basic_format_arg< typename buffer_context< Char >::type >)]
Definition: core.h:1330

Member Data Documentation

template<typename Char>
char internal::named_arg_base< Char >::data[ sizeof(basic_format_arg< typename buffer_context< Char >::type >)]
mutable

Definition at line 1330 of file core.h.

template<typename Char>
basic_string_view<Char> internal::named_arg_base< Char >::name

Definition at line 1326 of file core.h.


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