Boost C++ Libraries 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.

Class impl

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 {
  // construct/copy/destruct
  explicit impl(value_type const &);
  explicit impl(value_type &&);

  // public member functions
  virtual attribute_value get_value();
  void set(value_type const &);
  void set(value_type &&);
  value_type get() const;


impl public construct/copy/destruct

  1. explicit impl(value_type const & value);

    Initializing constructor

  2. explicit impl(value_type && value);

    Initializing constructor

impl public member functions

  1. virtual attribute_value get_value();


    The actual attribute value. It shall not return empty values (exceptions shall be used to indicate errors).

  2. void set(value_type const & value);
  3. void set(value_type && value);
  4. value_type get() const;