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

#include <format.h>

Public Member Functions

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

Handler & handler
 

Detailed Description

template<typename Handler, typename Char>
struct internal::id_adapter< Handler, Char >

Definition at line 1986 of file format.h.

Member Function Documentation

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

Definition at line 1992 of file format.h.

1992  {
1993  handler.on_error(message);
1994  }
Handler & handler
Definition: format.h:1995
template<typename Handler , typename Char >
FMT_CONSTEXPR void internal::id_adapter< Handler, Char >::operator() ( void  )
inline

Definition at line 1987 of file format.h.

1987 { handler.on_arg_id(); }
Handler & handler
Definition: format.h:1995
template<typename Handler , typename Char >
FMT_CONSTEXPR void internal::id_adapter< Handler, Char >::operator() ( unsigned  id)
inline

Definition at line 1988 of file format.h.

1988 { handler.on_arg_id(id); }
Handler & handler
Definition: format.h:1995
template<typename Handler , typename Char >
FMT_CONSTEXPR void internal::id_adapter< Handler, Char >::operator() ( basic_string_view< Char >  id)
inline

Definition at line 1989 of file format.h.

1989  {
1990  handler.on_arg_id(id);
1991  }
Handler & handler
Definition: format.h:1995

Member Data Documentation

template<typename Handler , typename Char >
Handler& internal::id_adapter< Handler, Char >::handler

Definition at line 1995 of file format.h.


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