xrpld
Loading...
Searching...
No Matches
beast::AgedAssociativeContainerTestBase::AllocT< T > Struct Template Reference

Classes

struct  Rebind

Public Types

using value_type = T

Public Member Functions

 AllocT (int)
 AllocT (AllocT const &)=default
template<class U>
 AllocT (AllocT< U > const &)
template<class U>
bool operator== (AllocT< U > const &) const
template<class U>
bool operator!= (AllocT< U > const &o) const
T * allocate (std::size_t n, T const *=0)
void deallocate (T *p, std::size_t)
 AllocT ()

Detailed Description

template<class T>
struct beast::AgedAssociativeContainerTestBase::AllocT< T >

Definition at line 110 of file aged_associative_container_test.cpp.

Member Typedef Documentation

◆ value_type

template<class T>
using beast::AgedAssociativeContainerTestBase::AllocT< T >::value_type = T

Definition at line 112 of file aged_associative_container_test.cpp.

Constructor & Destructor Documentation

◆ AllocT() [1/4]

template<class T>
beast::AgedAssociativeContainerTestBase::AllocT< T >::AllocT ( int )
explicit

Definition at line 122 of file aged_associative_container_test.cpp.

◆ AllocT() [2/4]

template<class T>
beast::AgedAssociativeContainerTestBase::AllocT< T >::AllocT ( AllocT< T > const & )
default

◆ AllocT() [3/4]

template<class T>
template<class U>
beast::AgedAssociativeContainerTestBase::AllocT< T >::AllocT ( AllocT< U > const & )

Definition at line 129 of file aged_associative_container_test.cpp.

◆ AllocT() [4/4]

template<class T>
beast::AgedAssociativeContainerTestBase::AllocT< T >::AllocT ( )

Definition at line 160 of file aged_associative_container_test.cpp.

Member Function Documentation

◆ operator==()

template<class T>
template<class U>
bool beast::AgedAssociativeContainerTestBase::AllocT< T >::operator== ( AllocT< U > const & ) const

Definition at line 135 of file aged_associative_container_test.cpp.

◆ operator!=()

template<class T>
template<class U>
bool beast::AgedAssociativeContainerTestBase::AllocT< T >::operator!= ( AllocT< U > const & o) const

Definition at line 142 of file aged_associative_container_test.cpp.

◆ allocate()

template<class T>
T * beast::AgedAssociativeContainerTestBase::AllocT< T >::allocate ( std::size_t n,
T const * = 0 )

Definition at line 148 of file aged_associative_container_test.cpp.

◆ deallocate()

template<class T>
void beast::AgedAssociativeContainerTestBase::AllocT< T >::deallocate ( T * p,
std::size_t  )

Definition at line 154 of file aged_associative_container_test.cpp.