WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
detail::type_mapper< Char > Struct Template Reference

#include <fmt/base.h>

Static Public Member Functions

static auto map (signed char) -> int
 
static auto map (unsigned char) -> unsigned
 
static auto map (short) -> int
 
static auto map (unsigned short) -> unsigned
 
static auto map (int) -> int
 
static auto map (unsigned) -> unsigned
 
static auto map (long) -> long_type
 
static auto map (unsigned long) -> ulong_type
 
static auto map (long long) -> long long
 
static auto map (unsigned long long) -> unsigned long long
 
static auto map (int128_opt) -> int128_opt
 
static auto map (uint128_opt) -> uint128_opt
 
static auto map (bool) -> bool
 
template<int N>
static auto map (bitint< N >) -> conditional_t< N<=64, long long, void >
 
template<int N>
static auto map (ubitint< N >) -> conditional_t< N<=64, unsigned long long, void >
 
template<typename T , FMT_ENABLE_IF(is_char< T >::value) >
static auto map (T) -> conditional_t< std::is_same< T, char >::value||std::is_same< T, Char >::value, Char, void >
 
static auto map (float) -> float
 
static auto map (double) -> double
 
static auto map (long double) -> long double
 
static auto map (Char *) -> const Char *
 
static auto map (const Char *) -> const Char *
 
template<typename T , typename C = char_t<T>, FMT_ENABLE_IF(!std::is_pointer< T >::value) >
static auto map (const T &) -> conditional_t< std::is_same< C, Char >::value, basic_string_view< C >, void >
 
static auto map (void *) -> const void *
 
static auto map (const void *) -> const void *
 
static auto map (volatile void *) -> const void *
 
static auto map (const volatile void *) -> const void *
 
static auto map (nullptr_t) -> const void *
 
template<typename T , FMT_ENABLE_IF(std::is_pointer< T >::value|| std::is_member_pointer< T >::value) >
static auto map (const T &) -> void
 
template<typename T , FMT_ENABLE_IF(use_format_as< T >::value) >
static auto map (const T &x) -> decltype(map(format_as(x)))
 
template<typename T , FMT_ENABLE_IF(use_format_as_member< T >::value) >
static auto map (const T &x) -> decltype(map(formatter< T >::format_as(x)))
 
template<typename T , FMT_ENABLE_IF(use_formatter< T >::value) >
static auto map (T &) -> conditional_t< has_formatter< T, Char >(), T &, void >
 
template<typename T , FMT_ENABLE_IF(is_named_arg< T >::value) >
static auto map (const T &named_arg) -> decltype(map(named_arg.value))
 

Member Function Documentation

◆ map() [1/32]

template<typename Char >
template<int N>
static auto detail::type_mapper< Char >::map ( bitint< N > ) -> conditional_t< N<=64, long long, void >
static

◆ map() [2/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( bool ) -> bool
static

◆ map() [3/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( Char * ) -> const Char *
static

◆ map() [4/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( const Char * ) -> const Char *
static

◆ map() [5/32]

template<typename Char >
template<typename T , typename C = char_t<T>, FMT_ENABLE_IF(!std::is_pointer< T >::value) >
static auto detail::type_mapper< Char >::map ( const T & ) -> conditional_t< std::is_same< C, Char >::value, basic_string_view< C >, void >
static

◆ map() [6/32]

template<typename Char >
template<typename T , FMT_ENABLE_IF(std::is_pointer< T >::value|| std::is_member_pointer< T >::value) >
static auto detail::type_mapper< Char >::map ( const T & ) -> void
static

◆ map() [7/32]

template<typename Char >
template<typename T , FMT_ENABLE_IF(is_named_arg< T >::value) >
static auto detail::type_mapper< Char >::map ( const T & named_arg) -> decltype(map(named_arg.value))
static

◆ map() [8/32]

template<typename Char >
template<typename T , FMT_ENABLE_IF(use_format_as< T >::value) >
static auto detail::type_mapper< Char >::map ( const T & x) -> decltype(map(format_as(x)))
static

◆ map() [9/32]

template<typename Char >
template<typename T , FMT_ENABLE_IF(use_format_as_member< T >::value) >
static auto detail::type_mapper< Char >::map ( const T & x) -> decltype(map(formatter< T >::format_as(x)))
static

◆ map() [10/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( const void * ) -> const void *
static

◆ map() [11/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( const volatile void * ) -> const void *
static

◆ map() [12/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( double ) -> double
static

◆ map() [13/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( float ) -> float
static

◆ map() [14/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( int ) -> int
static

◆ map() [15/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( int128_opt ) -> int128_opt
static

◆ map() [16/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( long double ) -> long double
static

◆ map() [17/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( long long ) -> long long
static

◆ map() [18/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( long ) -> long_type
static

◆ map() [19/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( nullptr_t ) -> const void *
static

◆ map() [20/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( short ) -> int
static

◆ map() [21/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( signed char ) -> int
static

◆ map() [22/32]

template<typename Char >
template<typename T , FMT_ENABLE_IF(use_formatter< T >::value) >
static auto detail::type_mapper< Char >::map ( T & ) -> conditional_t< has_formatter< T, Char >(), T &, void >
static

◆ map() [23/32]

template<typename Char >
template<typename T , FMT_ENABLE_IF(is_char< T >::value) >
static auto detail::type_mapper< Char >::map ( T ) -> conditional_t< std::is_same< T, char >::value||std::is_same< T, Char >::value, Char, void >
static

◆ map() [24/32]

template<typename Char >
template<int N>
static auto detail::type_mapper< Char >::map ( ubitint< N > ) -> conditional_t< N<=64, unsigned long long, void >
static

◆ map() [25/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( uint128_opt ) -> uint128_opt
static

◆ map() [26/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( unsigned char ) -> unsigned
static

◆ map() [27/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( unsigned long long ) -> unsigned long long
static

◆ map() [28/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( unsigned long ) -> ulong_type
static

◆ map() [29/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( unsigned short ) -> unsigned
static

◆ map() [30/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( unsigned ) -> unsigned
static

◆ map() [31/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( void * ) -> const void *
static

◆ map() [32/32]

template<typename Char >
static auto detail::type_mapper< Char >::map ( volatile void * ) -> const void *
static

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