Public Types | Static Public Member Functions | List of all members
detail::format_as_result< T > Struct Template Reference

#include <core.h>

Public Types

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

Static Public Member Functions

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

Detailed Description

template<typename T>
struct detail::format_as_result< T >

Definition at line 1338 of file core.h.

Member Typedef Documentation

◆ type

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

Definition at line 1344 of file core.h.

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 *  ) -> remove_cvref_t< decltype(format_as(std::declval< U >()))>
static

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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51