proxygen
|
Classes | |
struct | rebind |
Public Types | |
typedef Alloc::value_type | value_type |
typedef value_type * | pointer |
typedef value_type const * | const_pointer |
typedef value_type & | reference |
typedef value_type const * | const_reference |
typedef std::ptrdiff_t | difference_type |
typedef std::size_t | size_type |
Public Member Functions | |
MemoryLeakCheckerAllocator () | |
MemoryLeakCheckerAllocator (Alloc alloc) | |
template<class UAlloc > | |
MemoryLeakCheckerAllocator (const MemoryLeakCheckerAllocator< UAlloc > &other) | |
value_type * | allocate (size_t n, const void *hint=nullptr) |
void | deallocate (value_type *p, size_t n) |
size_t | max_size () const |
template<class... Args> | |
void | construct (value_type *p, Args &&...args) |
void | destroy (value_type *p) |
const Alloc & | allocator () const |
bool | operator!= (const MemoryLeakCheckerAllocator &other) const |
bool | operator== (const MemoryLeakCheckerAllocator &other) const |
Private Attributes | |
Alloc | alloc_ |
Definition at line 44 of file StringKeyedTest.cpp.
typedef value_type const* MemoryLeakCheckerAllocator< Alloc >::const_pointer |
Definition at line 47 of file StringKeyedTest.cpp.
typedef value_type const* MemoryLeakCheckerAllocator< Alloc >::const_reference |
Definition at line 49 of file StringKeyedTest.cpp.
typedef std::ptrdiff_t MemoryLeakCheckerAllocator< Alloc >::difference_type |
Definition at line 51 of file StringKeyedTest.cpp.
typedef value_type* MemoryLeakCheckerAllocator< Alloc >::pointer |
Definition at line 46 of file StringKeyedTest.cpp.
typedef value_type& MemoryLeakCheckerAllocator< Alloc >::reference |
Definition at line 48 of file StringKeyedTest.cpp.
typedef std::size_t MemoryLeakCheckerAllocator< Alloc >::size_type |
Definition at line 52 of file StringKeyedTest.cpp.
typedef Alloc::value_type MemoryLeakCheckerAllocator< Alloc >::value_type |
Definition at line 45 of file StringKeyedTest.cpp.
|
inlineexplicit |
Definition at line 54 of file StringKeyedTest.cpp.
|
inlineexplicit |
Definition at line 56 of file StringKeyedTest.cpp.
|
inline |
Definition at line 59 of file StringKeyedTest.cpp.
|
inline |
Definition at line 62 of file StringKeyedTest.cpp.
References MemoryLeakCheckerAllocator< Alloc >::alloc_, Alloc< T >::allocate(), and allocated.
|
inline |
Definition at line 93 of file StringKeyedTest.cpp.
References MemoryLeakCheckerAllocator< Alloc >::alloc_.
|
inline |
Definition at line 78 of file StringKeyedTest.cpp.
References MemoryLeakCheckerAllocator< Alloc >::alloc_, and Alloc< T >::construct().
|
inline |
Definition at line 68 of file StringKeyedTest.cpp.
References MemoryLeakCheckerAllocator< Alloc >::alloc_, Alloc< T >::deallocate(), and freed.
|
inline |
Definition at line 82 of file StringKeyedTest.cpp.
References MemoryLeakCheckerAllocator< Alloc >::alloc_, and Alloc< T >::destroy().
|
inline |
Definition at line 73 of file StringKeyedTest.cpp.
References MemoryLeakCheckerAllocator< Alloc >::alloc_, and testing::Args().
|
inline |
Definition at line 97 of file StringKeyedTest.cpp.
References MemoryLeakCheckerAllocator< Alloc >::alloc_.
|
inline |
Definition at line 101 of file StringKeyedTest.cpp.
References MemoryLeakCheckerAllocator< Alloc >::alloc_.
|
private |
Definition at line 106 of file StringKeyedTest.cpp.
Referenced by MemoryLeakCheckerAllocator< Alloc >::allocate(), MemoryLeakCheckerAllocator< Alloc >::allocator(), MemoryLeakCheckerAllocator< Alloc >::construct(), MemoryLeakCheckerAllocator< Alloc >::deallocate(), MemoryLeakCheckerAllocator< Alloc >::destroy(), MemoryLeakCheckerAllocator< Alloc >::max_size(), MemoryLeakCheckerAllocator< Alloc >::operator!=(), and MemoryLeakCheckerAllocator< Alloc >::operator==().