Scippy

SoPlex

Sequential object-oriented simPlex

basic_format_arg< Context > Class Template Reference

#include <core.h>

Classes

class  handle
 

Public Member Functions

FMT_CONSTEXPR basic_format_arg ()
 
FMT_CONSTEXPR operator bool () const FMT_NOEXCEPT
 
internal::type type () const
 
bool is_integral () const
 
bool is_arithmetic () const
 

Private Types

using char_type = typename Context::char_type
 

Private Attributes

internal::value< Context > value_
 
internal::type type_
 

Friends

class basic_format_args< Context >
 
class internal::arg_map< Context >
 
template<typename ContextType , typename T >
FMT_CONSTEXPR basic_format_arg< ContextType > internal::make_arg (const T &value)
 
template<typename Visitor , typename Ctx >
FMT_CONSTEXPR auto visit_format_arg (Visitor &&vis, const basic_format_arg< Ctx > &arg) -> decltype(vis(0))
 

Detailed Description

template<typename Context>
class basic_format_arg< Context >

Definition at line 547 of file core.h.

Member Typedef Documentation

◆ char_type

using char_type = typename Context::char_type
private

Definition at line 968 of file core.h.

Constructor & Destructor Documentation

◆ basic_format_arg()

Definition at line 984 of file core.h.

Member Function Documentation

◆ is_arithmetic()

bool is_arithmetic ( ) const

Definition at line 993 of file core.h.

References internal::is_arithmetic_type().

Referenced by basic_printf_context< OutputIt, Char >::format().

◆ is_integral()

bool is_integral ( ) const

Definition at line 992 of file core.h.

References internal::is_integral_type().

Referenced by basic_printf_context< OutputIt, Char >::format().

◆ operator bool()

FMT_CONSTEXPR operator bool ( ) const
explicit

Definition at line 986 of file core.h.

References internal::none_type.

◆ type()

internal::type type ( ) const

Definition at line 990 of file core.h.

Referenced by basic_format_context< OutputIt, Char >::arg().

Friends And Related Function Documentation

◆ basic_format_args< Context >

friend class basic_format_args< Context >
friend

Definition at line 965 of file core.h.

◆ internal::arg_map< Context >

friend class internal::arg_map< Context >
friend

Definition at line 966 of file core.h.

◆ internal::make_arg

FMT_CONSTEXPR basic_format_arg<ContextType> internal::make_arg ( const T &  value)
friend

◆ visit_format_arg

FMT_CONSTEXPR auto visit_format_arg ( Visitor &&  vis,
const basic_format_arg< Ctx > &  arg 
) -> decltype(vis(0))
friend

Member Data Documentation

◆ type_

◆ value_