WPILibC++ 2024.3.2
detail::format_as_result< T > Struct Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/core.h>

Public Types

using type = decltype(map(static_cast< T * >(nullptr)))
 

Static Public Member Functions

template<typename U , FMT_ENABLE_IF(std::is_enum< U >::value||std::is_class< U >::value) >
static auto map (U *) -> decltype(format_as(std::declval< U >()))
 
static auto map (...) -> void
 

Member Typedef Documentation

◆ type

template<typename T >
using detail::format_as_result< T >::type = decltype(map(static_cast<T*>(nullptr)))

Member Function Documentation

◆ map() [1/2]

template<typename T >
static auto detail::format_as_result< T >::map (   ...) -> void
static

◆ map() [2/2]

template<typename T >
template<typename U , FMT_ENABLE_IF(std::is_enum< U >::value||std::is_class< U >::value) >
static auto detail::format_as_result< T >::map ( U *  ) -> decltype(format_as(std::declval< U >()))
static

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