SoPlex Documentation
Loading...
Searching...
No Matches
format_arg_store< Context, Args > Class Template Reference

#include <core.h>

Public Member Functions

 format_arg_store (const Args &... args)
 

Private Types

using value_type
 

Private Attributes

detail::arg_data< value_type, typename Context::char_type, num_args, num_named_argsdata_
 

Static Private Attributes

static const size_t num_args = sizeof...(Args)
 
static const size_t num_named_args = detail::count_named_args<Args...>()
 
static const bool is_packed = num_args <= detail::max_packed_args
 
static constexpr unsigned long long desc
 

Friends

class basic_format_args< Context >
 

Detailed Description

template<typename Context, typename... Args>
class format_arg_store< Context, Args >

\rst An array of references to arguments. It can be implicitly converted into ~fmtbasic_format_args for passing into type-erased formatting functions such as ~fmtvformat. \endrst

Definition at line 1554 of file core.h.

Member Typedef Documentation

◆ value_type

template<typename Context , typename... Args>
using value_type
private
Initial value:
typename std::conditional< B, T, F >::type conditional_t
Definition core.h:261

Definition at line 1565 of file core.h.

Constructor & Destructor Documentation

◆ format_arg_store()

template<typename Context , typename... Args>
format_arg_store ( const Args &... args)

Definition at line 1582 of file core.h.

References detail::init_named_args().

Friends And Related Symbol Documentation

◆ basic_format_args< Context >

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

Definition at line 1570 of file core.h.

Member Data Documentation

◆ data_

template<typename Context , typename... Args>
detail::arg_data<value_type, typename Context::char_type, num_args, num_named_args> data_
private

Definition at line 1570 of file core.h.

◆ desc

template<typename Context , typename... Args>
constexpr unsigned long long desc
staticconstexprprivate
Initial value:
=
(is_packed ? detail::encode_types<Context, Args...>()
: detail::is_unpacked_bit | num_args) |
? static_cast<unsigned long long>(detail::has_named_args_bit)
: 0)
static const size_t num_args
Definition core.h:1561
static const bool is_packed
Definition core.h:1563
static const size_t num_named_args
Definition core.h:1562
constexpr unsigned long long encode_types()
Definition core.h:1405

Definition at line 1574 of file core.h.

◆ is_packed

template<typename Context , typename... Args>
const bool is_packed = num_args <= detail::max_packed_args
staticprivate

Definition at line 1563 of file core.h.

◆ num_args

template<typename Context , typename... Args>
const size_t num_args = sizeof...(Args)
staticprivate

Definition at line 1561 of file core.h.

◆ num_named_args

template<typename Context , typename... Args>
const size_t num_named_args = detail::count_named_args<Args...>()
staticprivate

Definition at line 1562 of file core.h.