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 to view this page for the latest version.
PrevUpHomeNext

Class impl

boost::log::attributes::counter::impl — Factory implementation.

Synopsis

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



// Factory implementation.

class impl : public attribute::impl {
public:

  // public member functions
  impl(value_type, value_type) noexcept;
  virtual attribute_value get_value();
};

Description

impl public member functions

  1. impl(value_type initial, value_type step) noexcept;
  2. virtual attribute_value get_value();

    Returns:

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


PrevUpHomeNext