Scippy

SoPlex

Sequential object-oriented simPlex

format_arg_store< Context, Args > Class Template Reference

#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 = conditional_t< is_packed, internal::value< Context >, basic_format_arg< Context > >
 

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 >

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.

Definition at line 1194 of file core.h.

Member Typedef Documentation

◆ value_type

using value_type = conditional_t<is_packed, internal::value<Context>, basic_format_arg<Context> >
private

Definition at line 1200 of file core.h.

Constructor & Destructor Documentation

◆ format_arg_store()

format_arg_store ( const Args &...  args)

Definition at line 1212 of file core.h.

Friends And Related Function Documentation

◆ basic_format_args< Context >

friend class basic_format_args< Context >
friend

Definition at line 1205 of file core.h.

Member Data Documentation

◆ data_

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

◆ is_packed

const bool is_packed = num_args < internal::max_packed_args
staticprivate

Definition at line 1197 of file core.h.

◆ num_args

const size_t num_args = sizeof...(Args)
staticprivate

Definition at line 1196 of file core.h.

◆ types

constexpr unsigned long long types
static
Initial value:

Definition at line 1208 of file core.h.