SoPlex Documentation
Loading...
Searching...
No Matches

#include <core.h>

Public Member Functions

 format_arg_store (const Args &... args)
 

Static Public Attributes

static constexpr unsigned long long types
 

Private Types

using value_type
 

Private Attributes

value_type data_ [num_args+(num_args==0 ? 1 :0)]
 

Static Private Attributes

static const size_t num_args = sizeof...(Args)
 
static const bool is_packed = num_args < internal::max_packed_args
 

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 1194 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:206

Definition at line 1199 of file core.h.

Constructor & Destructor Documentation

◆ format_arg_store()

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

Definition at line 1212 of file core.h.

Friends And Related Symbol Documentation

◆ basic_format_args< Context >

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

Definition at line 1203 of file core.h.

Member Data Documentation

◆ data_

template<typename Context , typename... Args>
value_type data_[num_args+(num_args==0 ? 1 :0)]
private

Definition at line 1203 of file core.h.

Referenced by basic_format_args< Context >::basic_format_args().

◆ is_packed

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

Definition at line 1197 of file core.h.

◆ num_args

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

Definition at line 1196 of file core.h.

◆ types

template<typename Context , typename... Args>
constexpr unsigned long long types
staticconstexpr
Initial value:
=
is_packed ? internal::encode_types<Context, Args...>()
: internal::is_unpacked_bit | num_args
static const size_t num_args
Definition core.h:1196
static const bool is_packed
Definition core.h:1197
constexpr unsigned long long encode_types()
Definition core.h:1105

Definition at line 1208 of file core.h.