...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::attributes::mutable_constant<T, void, void, void>::impl — Factory implementation.
// In header: <boost/log/attributes/mutable_constant.hpp> // Factory implementation. class impl : public attribute::impl { public: // public member functions explicit impl(value_type const &); explicit impl(value_type &&); virtual attribute_value get_value(); void set(value_type const &); void set(value_type &&); value_type get() const; };
impl
public member functionsexplicit impl(value_type const & value);
Initializing constructor
explicit impl(value_type && value);
Initializing constructor
virtual attribute_value get_value();
Returns: |
The actual attribute value. It shall not return empty values (exceptions shall be used to indicate errors). |
void set(value_type const & value);
void set(value_type && value);
value_type get() const;