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 to view this page for the latest version.
PrevUpHomeNext

Function template make_constant

boost::log::attributes::make_constant

Synopsis

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


template<typename T> unspecified make_constant(BOOST_FWD_REF(T) val);

Description

The function constructs a constant attribute containing the provided value. The function automatically converts C string arguments to std::basic_string objects.


PrevUpHomeNext