Boost C++ Libraries 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.

Struct template basic_mapping

boost::log::sinks::basic_mapping — Base class for attribute mapping function objects.


// In header: <boost/log/sinks/attribute_mapping.hpp>

template<typename MappedT> 
struct basic_mapping {
  // types
  typedef MappedT     mapped_type;  // Mapped value type. 
  typedef mapped_type result_type;  // Result type.