proxygen
|
Public Types | |
typedef std::allocator< T >::pointer | pointer |
typedef std::allocator< T >::const_pointer | const_pointer |
typedef std::allocator< T >::difference_type | difference_type |
typedef std::allocator< T >::size_type | size_type |
typedef std::allocator< T >::value_type | value_type |
typedef isPropCopy< T > | propagate_on_container_copy_assignment |
typedef isPropMove< T > | propagate_on_container_move_assignment |
typedef isPropSwap< T > | propagate_on_container_swap |
Public Member Functions | |
Alloc (int i=8) | |
Alloc (const Alloc &o) | |
Alloc (Alloc &&o) noexcept | |
Alloc & | operator= (const Alloc &)=default |
Alloc & | operator= (Alloc &&) noexcept=default |
bool | operator== (const Alloc &o) const |
bool | operator!= (const Alloc &o) const |
pointer | allocate (size_type n) |
void | deallocate (pointer p, size_type n) |
template<class U , class... Args> | |
void | construct (U *p, Args &&...args) |
template<class U > | |
void | destroy (U *p) |
Alloc | select_on_container_copy_construction () const |
Public Attributes | |
std::allocator< T > | a |
int | id |
Additional Inherited Members | |
![]() | |
static void | Tick (const std::string &s) |
![]() | |
static int | Constructed = 0 |
static int | Destroyed = 0 |
static map< void *, size_t > | Allocated |
static map< void *, int > | Owner |
![]() | |
static int | CountTicks = 0 |
static int | TicksLeft = -1 |
Definition at line 650 of file StlVectorTest.cpp.
typedef std::allocator<T>::const_pointer Alloc< T >::const_pointer |
Definition at line 652 of file StlVectorTest.cpp.
typedef std::allocator<T>::difference_type Alloc< T >::difference_type |
Definition at line 653 of file StlVectorTest.cpp.
Definition at line 651 of file StlVectorTest.cpp.
typedef isPropCopy<T> Alloc< T >::propagate_on_container_copy_assignment |
Definition at line 736 of file StlVectorTest.cpp.
typedef isPropMove<T> Alloc< T >::propagate_on_container_move_assignment |
Definition at line 737 of file StlVectorTest.cpp.
typedef isPropSwap<T> Alloc< T >::propagate_on_container_swap |
Definition at line 738 of file StlVectorTest.cpp.
Definition at line 654 of file StlVectorTest.cpp.
typedef std::allocator<T>::value_type Alloc< T >::value_type |
Definition at line 655 of file StlVectorTest.cpp.
Definition at line 662 of file StlVectorTest.cpp.
Definition at line 663 of file StlVectorTest.cpp.
Definition at line 664 of file StlVectorTest.cpp.
References folly::pushmi::__adl::noexcept(), and D0< b >::operator=().
Definition at line 677 of file StlVectorTest.cpp.
Referenced by MemoryLeakCheckerAllocator< Alloc >::allocate().
|
inline |
Definition at line 716 of file StlVectorTest.cpp.
Referenced by MemoryLeakCheckerAllocator< Alloc >::construct().
Definition at line 689 of file StlVectorTest.cpp.
References testing::Args(), and FAIL.
Referenced by MemoryLeakCheckerAllocator< Alloc >::deallocate().
Definition at line 723 of file StlVectorTest.cpp.
Referenced by MemoryLeakCheckerAllocator< Alloc >::destroy().
Definition at line 670 of file StlVectorTest.cpp.
Definition at line 731 of file StlVectorTest.cpp.
Definition at line 660 of file StlVectorTest.cpp.
Referenced by Alloc< T >::operator==().
Definition at line 661 of file StlVectorTest.cpp.
Referenced by convertToInt(), and Alloc< T >::operator==().