Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::attributes::counter< T >::impl_generic Class Reference

#include <counter.hpp>

Inheritance diagram for boost::attributes::counter< T >::impl_generic:
Collaboration diagram for boost::attributes::counter< T >::impl_generic:

Public Member Functions

 impl_generic (value_type initial, long step)
 Initializing constructor. More...
 
attribute_value get_value ()
 

Static Public Member Functions

static BOOST_LOG_API void * operator new (std::size_t size)
 
static BOOST_LOG_API void operator delete (void *p, std::size_t size) BOOST_NOEXCEPT
 

Constructor & Destructor Documentation

template<typename T >
boost::attributes::counter< T >::impl_generic::impl_generic ( value_type  initial,
long  step 
)
inline

Initializing constructor.

Member Function Documentation

template<typename T >
attribute_value boost::attributes::counter< T >::impl_generic::get_value ( )
inlinevirtual
Returns
The actual attribute value. It shall not return empty values (exceptions shall be used to indicate errors).

Implements boost::attribute::impl.

References boost::attributes::make_attribute_value(), and boost::next().

static BOOST_LOG_API void boost::attribute::impl::operator delete ( void *  p,
std::size_t  size 
)
staticinherited
static BOOST_LOG_API void* boost::attribute::impl::operator new ( std::size_t  size)
staticinherited

The documentation for this class was generated from the following file: