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 template attr

boost::log::expressions::attr

Synopsis

// In header: <boost/log/expressions/attr.hpp>


template<typename AttributeValueT, typename TagT> 
  attribute_actor< AttributeValueT, fallback_to_none, TagT > 
  attr(attribute_name const & name);

Description

The function generates a terminal node in a template expression. The node will extract the value of the attribute with the specified name and type.


PrevUpHomeNext