Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class template format_terminal

boost::log::expressions::format_terminal — Template expressions terminal node with Boost.Format-like formatter.

Synopsis

// In header: <boost/log/expressions/formatters/format.hpp>

template<typename CharT> 
class format_terminal {
public:
  // types
  typedef void                           _is_boost_log_terminal;  // Internal typedef for type categorization. 
  typedef CharT                          char_type;               // Character type. 
  typedef unspecified                    format_type;             // Boost.Format formatter type. 
  typedef std::basic_string< char_type > string_type;             // String type. 
  typedef format_type::pump              result_type;             // Terminal result type. 

  // construct/copy/destruct
  explicit format_terminal(const char_type *);
  format_terminal() = delete;

  // public member functions
  template<typename ContextT> result_type operator()(ContextT const &) const;
};

Description

format_terminal public construct/copy/destruct

  1. explicit format_terminal(const char_type * format);
    Initializing constructor.
  2. format_terminal() = delete;

format_terminal public member functions

  1. template<typename ContextT> result_type operator()(ContextT const & ctx) const;
    Invokation operator.

PrevUpHomeNext