Classes | Public Member Functions | Private Types | Private Attributes | Friends | List of all members
basic_format_arg< Context > Class Template Reference

#include <core.h>

Classes

class  handle
 

Public Member Functions

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

Private Types

typedef Context::char_type 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 internal::result_of< Visitor(int)>::type visit_format_arg (Visitor &&vis, const basic_format_arg< Ctx > &arg)
 

Detailed Description

template<typename Context>
class basic_format_arg< Context >

Definition at line 484 of file core.h.

Member Typedef Documentation

template<typename Context>
typedef Context::char_type basic_format_arg< Context >::char_type
private

Definition at line 795 of file core.h.

Constructor & Destructor Documentation

template<typename Context>
FMT_CONSTEXPR basic_format_arg< Context >::basic_format_arg ( )
inline

Definition at line 808 of file core.h.

internal::type type_
Definition: core.h:782

Member Function Documentation

template<typename Context>
bool basic_format_arg< Context >::is_arithmetic ( ) const
inline

Definition at line 817 of file core.h.

817 { return internal::is_arithmetic(type_); }
FMT_CONSTEXPR bool is_arithmetic(type t)
Definition: core.h:545
internal::type type_
Definition: core.h:782
template<typename Context>
bool basic_format_arg< Context >::is_integral ( ) const
inline

Definition at line 816 of file core.h.

816 { return internal::is_integral(type_); }
FMT_CONSTEXPR bool is_integral(type t)
Definition: core.h:540
internal::type type_
Definition: core.h:782
template<typename Context>
FMT_EXPLICIT basic_format_arg< Context >::operator bool ( ) const
inline

Definition at line 810 of file core.h.

810  {
811  return type_ != internal::none_type;
812  }
internal::type type_
Definition: core.h:782
template<typename Context>
internal::type basic_format_arg< Context >::type ( ) const
inline

Definition at line 814 of file core.h.

814 { return type_; }
internal::type type_
Definition: core.h:782

Friends And Related Function Documentation

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

Definition at line 792 of file core.h.

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

Definition at line 793 of file core.h.

template<typename Context>
template<typename ContextType , typename T >
FMT_CONSTEXPR basic_format_arg<ContextType> internal::make_arg ( const T &  value)
friend
template<typename Context>
template<typename Visitor , typename Ctx >
FMT_CONSTEXPR internal::result_of<Visitor(int)>::type visit_format_arg ( Visitor &&  vis,
const basic_format_arg< Ctx > &  arg 
)
friend

Member Data Documentation

template<typename Context>
internal::type basic_format_arg< Context >::type_
private

Definition at line 782 of file core.h.

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

Definition at line 781 of file core.h.


The documentation for this class was generated from the following file: