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 for the latest Boost documentation.
PrevUpHomeNext

Function add_value

boost::log::add_value — The function creates a manipulator that attaches an attribute value to a log record.

Synopsis

// In header: <boost/log/utility/manipulators/add_value.hpp>


template<typename T> 
  add_value_manip< T && > add_value(attribute_name const & name, T && value);
template<typename DescriptorT, template< typename > class ActorT> 
  add_value_manip< typename DescriptorT::value_type && > 
  add_value(expressions::attribute_keyword< DescriptorT, ActorT > const &, 
            typename DescriptorT::value_type && value);
template<typename DescriptorT, template< typename > class ActorT> 
  add_value_manip< typename DescriptorT::value_type & > 
  add_value(expressions::attribute_keyword< DescriptorT, ActorT > const &, 
            typename DescriptorT::value_type & value);
template<typename DescriptorT, template< typename > class ActorT> 
  add_value_manip< typename DescriptorT::value_type const  & > 
  add_value(expressions::attribute_keyword< DescriptorT, ActorT > const &, 
            typename DescriptorT::value_type const & value);

PrevUpHomeNext