boost::log::attributes::make_attribute_value
// In header: <boost/log/attributes/attribute_value_impl.hpp> template<typename T> attribute_value make_attribute_value(T && v);
The function creates an attribute value from the specified object.