Public Member Functions | Public Attributes | List of all members
internal::precision_adapter< SpecHandler, Char > Struct Template Reference

#include <format.h>

Public Member Functions

FMT_CONSTEXPR precision_adapter (SpecHandler &h)
 
FMT_CONSTEXPR void operator() ()
 
FMT_CONSTEXPR void operator() (unsigned id)
 
FMT_CONSTEXPR void operator() (basic_string_view< Char > id)
 
FMT_CONSTEXPR void on_error (const char *message)
 

Public Attributes

SpecHandler & handler
 

Detailed Description

template<typename SpecHandler, typename Char>
struct internal::precision_adapter< SpecHandler, Char >

Definition at line 1829 of file format.h.

Constructor & Destructor Documentation

template<typename SpecHandler , typename Char >
FMT_CONSTEXPR internal::precision_adapter< SpecHandler, Char >::precision_adapter ( SpecHandler &  h)
inlineexplicit

Definition at line 1830 of file format.h.

1830 : handler(h) {}
SpecHandler & handler
Definition: format.h:1842
h
training ###############################
Definition: train_cnn.py:186

Member Function Documentation

template<typename SpecHandler , typename Char >
FMT_CONSTEXPR void internal::precision_adapter< SpecHandler, Char >::on_error ( const char *  message)
inline

Definition at line 1840 of file format.h.

1840 { handler.on_error(message); }
SpecHandler & handler
Definition: format.h:1842
template<typename SpecHandler , typename Char >
FMT_CONSTEXPR void internal::precision_adapter< SpecHandler, Char >::operator() ( void  )
inline

Definition at line 1832 of file format.h.

1832 { handler.on_dynamic_precision(auto_id()); }
SpecHandler & handler
Definition: format.h:1842
template<typename SpecHandler , typename Char >
FMT_CONSTEXPR void internal::precision_adapter< SpecHandler, Char >::operator() ( unsigned  id)
inline

Definition at line 1833 of file format.h.

1833  {
1834  handler.on_dynamic_precision(id);
1835  }
SpecHandler & handler
Definition: format.h:1842
template<typename SpecHandler , typename Char >
FMT_CONSTEXPR void internal::precision_adapter< SpecHandler, Char >::operator() ( basic_string_view< Char >  id)
inline

Definition at line 1836 of file format.h.

1836  {
1837  handler.on_dynamic_precision(id);
1838  }
SpecHandler & handler
Definition: format.h:1842

Member Data Documentation

template<typename SpecHandler , typename Char >
SpecHandler& internal::precision_adapter< SpecHandler, Char >::handler

Definition at line 1842 of file format.h.


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