Clementine
Public Types | Public Member Functions | List of all members
detail::arg_mapper< Context > Struct Template Reference

Public Types

using char_type = typename Context::char_type
 

Public Member Functions

FMT_CONSTEXPR int map (signed char val)
 
FMT_CONSTEXPR unsigned map (unsigned char val)
 
FMT_CONSTEXPR int map (short val)
 
FMT_CONSTEXPR unsigned map (unsigned short val)
 
FMT_CONSTEXPR int map (int val)
 
FMT_CONSTEXPR unsigned map (unsigned val)
 
FMT_CONSTEXPR long_type map (long val)
 
FMT_CONSTEXPR ulong_type map (unsigned long val)
 
FMT_CONSTEXPR long long map (long long val)
 
FMT_CONSTEXPR unsigned long long map (unsigned long long val)
 
FMT_CONSTEXPR int128_t map (int128_t val)
 
FMT_CONSTEXPR uint128_t map (uint128_t val)
 
FMT_CONSTEXPR bool map (bool val)
 
template<typename T , FMT_ENABLE_IF(is_char< T >::value) >
FMT_CONSTEXPR char_type map (T val)
 
FMT_CONSTEXPR float map (float val)
 
FMT_CONSTEXPR double map (double val)
 
FMT_CONSTEXPR long double map (long double val)
 
FMT_CONSTEXPR const char_type * map (char_type *val)
 
FMT_CONSTEXPR const char_type * map (const char_type *val)
 
template<typename T , FMT_ENABLE_IF(is_string< T >::value) >
FMT_CONSTEXPR basic_string_view< char_type > map (const T &val)
 
template<typename T , FMT_ENABLE_IF( std::is_constructible< basic_string_view< char_type >, T >::value && !is_string< T >::value &&!has_formatter< T, Context >::value && !has_fallback_formatter< T, Context >::value) >
FMT_CONSTEXPR basic_string_view< char_type > map (const T &val)
 
template<typename T , FMT_ENABLE_IF( std::is_constructible< std_string_view< char_type >, T >::value && !std::is_constructible< basic_string_view< char_type >, T >::value && !is_string< T >::value &&!has_formatter< T, Context >::value && !has_fallback_formatter< T, Context >::value) >
FMT_CONSTEXPR basic_string_view< char_type > map (const T &val)
 
FMT_CONSTEXPR const char * map (const signed char *val)
 
FMT_CONSTEXPR const char * map (const unsigned char *val)
 
FMT_CONSTEXPR const char * map (signed char *val)
 
FMT_CONSTEXPR const char * map (unsigned char *val)
 
FMT_CONSTEXPR const void * map (void *val)
 
FMT_CONSTEXPR const void * map (const void *val)
 
FMT_CONSTEXPR const void * map (std::nullptr_t val)
 
template<typename T >
FMT_CONSTEXPR int map (const T *)
 
template<typename T , FMT_ENABLE_IF(std::is_enum< T >::value && !has_formatter< T, Context >::value && !has_fallback_formatter< T, Context >::value) >
FMT_CONSTEXPR auto map (const T &val) -> decltype(std::declval< arg_mapper >().map(static_cast< typename std::underlying_type< T >::type >(val)))
 
template<typename T , FMT_ENABLE_IF(!is_string< T >::value &&!is_char< T >::value &&(has_formatter< T, Context >::value|| has_fallback_formatter< T, Context >::value)) >
FMT_CONSTEXPR const T & map (const T &val)
 
template<typename T >
FMT_CONSTEXPR auto map (const named_arg< char_type, T > &val) -> decltype(std::declval< arg_mapper >().map(val.value))
 
unformattable map (...)
 

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