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_inc Class Reference

#include <counter.hpp>

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

Public Member Functions

 impl_inc (value_type initial)
 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_inc::impl_inc ( value_type  initial)
inlineexplicit

Initializing constructor.

Member Function Documentation

template<typename T >
attribute_value boost::attributes::counter< T >::impl_inc::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().

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: