WPILibC++ 2024.3.2
detail::range_mapper< Context > Struct Template Reference

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

Public Types

using mapper = arg_mapper< Context >
 

Static Public Member Functions

template<typename T , FMT_ENABLE_IF(has_formatter< remove_cvref_t< T >, Context >::value) >
static auto map (T &&value) -> T &&
 
template<typename T , FMT_ENABLE_IF(!has_formatter< remove_cvref_t< T >, Context >::value) >
static auto map (T &&value) -> decltype(mapper().map(static_cast< T && >(value)))
 

Member Typedef Documentation

◆ mapper

template<typename Context >
using detail::range_mapper< Context >::mapper = arg_mapper<Context>

Member Function Documentation

◆ map() [1/2]

template<typename Context >
template<typename T , FMT_ENABLE_IF(!has_formatter< remove_cvref_t< T >, Context >::value) >
static auto detail::range_mapper< Context >::map ( T &&  value) -> decltype(mapper().map(static_cast<T&&>(value)))
inlinestatic

◆ map() [2/2]

template<typename Context >
template<typename T , FMT_ENABLE_IF(has_formatter< remove_cvref_t< T >, Context >::value) >
static auto detail::range_mapper< Context >::map ( T &&  value) -> T&&
inlinestatic

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