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