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

#include <format.h>

Public Member Functions

FMT_CONSTEXPR width_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::width_adapter< SpecHandler, Char >

Definition at line 1811 of file format.h.

Constructor & Destructor Documentation

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

Definition at line 1812 of file format.h.

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

Member Function Documentation

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

Definition at line 1820 of file format.h.

1820  {
1821  handler.on_error(message);
1822  }
SpecHandler & handler
Definition: format.h:1824
template<typename SpecHandler , typename Char >
FMT_CONSTEXPR void internal::width_adapter< SpecHandler, Char >::operator() ( void  )
inline

Definition at line 1814 of file format.h.

1814 { handler.on_dynamic_width(auto_id()); }
SpecHandler & handler
Definition: format.h:1824
template<typename SpecHandler , typename Char >
FMT_CONSTEXPR void internal::width_adapter< SpecHandler, Char >::operator() ( unsigned  id)
inline

Definition at line 1815 of file format.h.

1815 { handler.on_dynamic_width(id); }
SpecHandler & handler
Definition: format.h:1824
template<typename SpecHandler , typename Char >
FMT_CONSTEXPR void internal::width_adapter< SpecHandler, Char >::operator() ( basic_string_view< Char >  id)
inline

Definition at line 1816 of file format.h.

1816  {
1817  handler.on_dynamic_width(id);
1818  }
SpecHandler & handler
Definition: format.h:1824

Member Data Documentation

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

Definition at line 1824 of file format.h.


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