SoPlex Documentation
Loading...
Searching...
No Matches
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 951 of file core.h.

Member Typedef Documentation

◆ char_type

template<typename Context >
using char_type = typename Context::char_type
private

Definition at line 968 of file core.h.

Constructor & Destructor Documentation

◆ basic_format_arg()

template<typename Context >
FMT_CONSTEXPR basic_format_arg ( )

Definition at line 984 of file core.h.

Member Function Documentation

◆ is_arithmetic()

template<typename Context >
bool is_arithmetic ( ) const

Definition at line 993 of file core.h.

References internal::is_arithmetic_type(), and basic_format_arg< Context >::type_.

◆ is_integral()

template<typename Context >
bool is_integral ( ) const

Definition at line 992 of file core.h.

References internal::is_integral_type(), and basic_format_arg< Context >::type_.

◆ operator bool()

template<typename Context >
FMT_CONSTEXPR operator bool ( ) const
explicit

Definition at line 986 of file core.h.

References internal::none_type, and basic_format_arg< Context >::type_.

◆ type()

template<typename Context >
internal::type type ( ) const

Definition at line 990 of file core.h.

References basic_format_arg< Context >::type_.

Friends And Related Symbol Documentation

◆ basic_format_args< Context >

template<typename Context >
friend class basic_format_args< Context >
friend

Definition at line 961 of file core.h.

◆ internal::arg_map< Context >

template<typename Context >
friend class internal::arg_map< Context >
friend

Definition at line 961 of file core.h.

◆ internal::make_arg

template<typename Context >
template<typename ContextType , typename T >
FMT_CONSTEXPR basic_format_arg< ContextType > internal::make_arg ( const T & value)
friend

◆ visit_format_arg

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

Member Data Documentation

◆ type_

◆ value_

template<typename Context >
internal::value<Context> value_
private

Definition at line 953 of file core.h.

Referenced by arg_map< Context >::init().