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

#include <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) -> decltype(mapper().map(static_cast< T && >(value)))
 
template<typename T , FMT_ENABLE_IF(has_formatter< remove_cvref_t< T >, Context >::value) >
static auto map (T &&value) -> T &&
 

Detailed Description

template<typename Context>
struct detail::range_mapper< Context >

Definition at line 386 of file ranges.h.

Member Typedef Documentation

◆ mapper

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

Definition at line 387 of file ranges.h.

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

Definition at line 396 of file ranges.h.

◆ 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

Definition at line 391 of file ranges.h.


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


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