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 for the latest Boost documentation.
PrevUpHomeNext

Class impl

boost::log::attributes::mutable_constant<T, void, void, void>::impl — Factory implementation.

Synopsis

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



// Factory implementation.

class impl : public attribute::impl {
public:
  // 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;
};

Description

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();

    Returns:

    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;

PrevUpHomeNext