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

PrevUpHomeNext

Function add_scoped_thread_attribute

boost::log::add_scoped_thread_attribute

Synopsis

// In header: <boost/log/attributes/scoped_attribute.hpp>


unspecified add_scoped_thread_attribute(attribute_name const & name, 
                                        attribute const & attr);

Description

Registers a thread-specific attribute

Parameters:

name

Attribute name

attr

The attribute. Must not be NULL.

Returns:

An unspecified guard object which may be used to initialize a scoped_attribute variable.


PrevUpHomeNext