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_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:

attr

The attribute. Must not be NULL.

name

Attribute name

Returns:

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


PrevUpHomeNext