scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::arg_store< Context, Args > Class Template Reference

#include <args.h>

Public Types

using arg_type = typename Context::arg_type
 
using value_type = typename std::conditional< is_packed, detail::value< Context >, arg_type >::type
 

Public Member Functions

template<typename ParseCtx >
SCN_CONSTEXPR14 arg_store (detail::parse_ctx_tag< ParseCtx >, Args &...a) noexcept
 

Static Public Attributes

static constexpr size_t types = get_types()
 
static constexpr size_t data_size
 

Friends

class basic_args< Context >
 

Detailed Description

template<typename Context, typename... Args>
class scn::arg_store< Context, Args >

Definition at line 463 of file args.h.

Member Typedef Documentation

template<typename Context , typename... Args>
using scn::arg_store< Context, Args >::arg_type = typename Context::arg_type

Definition at line 477 of file args.h.

template<typename Context , typename... Args>
using scn::arg_store< Context, Args >::value_type = typename std:: conditional<is_packed, detail::value<Context>, arg_type>::type

Definition at line 480 of file args.h.

Constructor & Destructor Documentation

template<typename Context , typename... Args>
template<typename ParseCtx >
SCN_CONSTEXPR14 scn::arg_store< Context, Args >::arg_store ( detail::parse_ctx_tag< ParseCtx >  ,
Args &...  a 
)
inlinenoexcept

Definition at line 485 of file args.h.

Friends And Related Function Documentation

template<typename Context , typename... Args>
friend class basic_args< Context >
friend

Definition at line 467 of file args.h.

Member Data Documentation

template<typename Context , typename... Args>
constexpr size_t scn::arg_store< Context, Args >::data_size
static
Initial value:
=
num_args + (is_packed && num_args != 0 ? 0 : 1)

Definition at line 481 of file args.h.

template<typename Context , typename... Args>
constexpr size_t scn::arg_store< Context, Args >::types = get_types()
static

Definition at line 476 of file args.h.


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