Public Member Functions | Private Attributes | List of all members
internal::custom_formatter< Char, Context > Class Template Reference

#include <format.h>

Inheritance diagram for internal::custom_formatter< Char, Context >:
internal::function< bool >

Public Member Functions

 custom_formatter (Context &ctx)
 
bool operator() (typename basic_format_arg< Context >::handle h) const
 
template<typename T >
bool operator() (T) const
 

Private Attributes

Context & ctx_
 

Detailed Description

template<typename Char, typename Context>
class internal::custom_formatter< Char, Context >

Definition at line 1480 of file format.h.

Constructor & Destructor Documentation

template<typename Char, typename Context>
internal::custom_formatter< Char, Context >::custom_formatter ( Context &  ctx)
inlineexplicit

Definition at line 1485 of file format.h.

1485 : ctx_(ctx) {}

Member Function Documentation

template<typename Char, typename Context>
bool internal::custom_formatter< Char, Context >::operator() ( typename basic_format_arg< Context >::handle  h) const
inline

Definition at line 1487 of file format.h.

1487  {
1488  h.format(ctx_);
1489  return true;
1490  }
h
training ###############################
Definition: train_cnn.py:186
template<typename Char, typename Context>
template<typename T >
bool internal::custom_formatter< Char, Context >::operator() ( ) const
inline

Definition at line 1493 of file format.h.

1493 { return false; }

Member Data Documentation

template<typename Char, typename Context>
Context& internal::custom_formatter< Char, Context >::ctx_
private

Definition at line 1482 of file format.h.


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