Agora  1.2.0
Agora project
fmt::v8::format_arg_store< Context, Args > Class Template Reference

#include <core.h>

Collaboration diagram for fmt::v8::format_arg_store< Context, Args >:

Public Member Functions

template<typename... T>
 format_arg_store (T &&... args)
 

Private Types

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

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 fmt::v8::format_arg_store< Context, Args >

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

Member Typedef Documentation

◆ value_type

template<typename Context , typename... Args>
using fmt::v8::format_arg_store< Context, Args >::value_type = conditional_t<is_packed, detail::value<Context>, basic_format_arg<Context> >
private

Constructor & Destructor Documentation

◆ format_arg_store()

template<typename Context , typename... Args>
template<typename... T>
fmt::v8::format_arg_store< Context, Args >::format_arg_store ( T &&...  args)
inline
Here is the call graph for this function:

Friends And Related Function Documentation

◆ basic_format_args< Context >

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

Member Data Documentation

◆ data_

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

◆ desc

template<typename Context , typename... Args>
constexpr unsigned long long fmt::v8::format_arg_store< Context, Args >::desc
staticconstexprprivate
Initial value:
=
(is_packed ? detail::encode_types<Context, Args...>()
? static_cast<unsigned long long>(detail::has_named_args_bit)
: 0)

◆ is_packed

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

◆ num_args

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

◆ num_named_args

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

The documentation for this class was generated from the following file:
fmt::v8::detail::is_unpacked_bit
@ is_unpacked_bit
Definition: core.h:1499
fmt::v8::format_arg_store::num_args
static const size_t num_args
Definition: core.h:1826
fmt::v8::format_arg_store::is_packed
static const bool is_packed
Definition: core.h:1828
fmt::v8::detail::encode_types
constexpr auto encode_types() -> unsigned long long
Definition: core.h:1682
fmt::v8::detail::has_named_args_bit
@ has_named_args_bit
Definition: core.h:1500
fmt::v8::format_arg_store::num_named_args
static const size_t num_named_args
Definition: core.h:1827