Bond
 
Loading...
Searching...
No Matches
bond::ext::multi_threaded_counter< T > Class Template Reference

Multi-threaded counter to be used with capped_allocator. More...

Inheritance diagram for bond::ext::multi_threaded_counter< T >:
bond::ext::detail::counter_base< T >

Public Member Functions

value () const BOND_NOEXCEPT
 

Detailed Description

template<typename T>
class bond::ext::multi_threaded_counter< T >

Multi-threaded counter to be used with capped_allocator.

Template Parameters
Tunderlying counter type.

Member Function Documentation

◆ value()

template<typename T >
T bond::ext::multi_threaded_counter< T >::value ( ) const
Remarks
The returned value may not be up-to-date.