proxygen
|
#include <F14TestUtil.h>
Public Types | |
using | Alloc = std::allocator< T > |
using | value_type = typename Alloc::value_type |
using | pointer = typename Alloc::pointer |
using | const_pointer = typename Alloc::const_pointer |
using | reference = typename Alloc::reference |
using | const_reference = typename Alloc::const_reference |
using | size_type = typename Alloc::size_type |
using | propagate_on_container_swap = std::true_type |
using | propagate_on_container_copy_assignment = std::true_type |
using | propagate_on_container_move_assignment = std::true_type |
Public Member Functions | |
SwapTrackingAlloc () | |
template<class U > | |
SwapTrackingAlloc (SwapTrackingAlloc< U > const &other) noexcept | |
template<class U > | |
SwapTrackingAlloc & | operator= (SwapTrackingAlloc< U > const &other) noexcept |
template<class U > | |
SwapTrackingAlloc (SwapTrackingAlloc< U > &&other) noexcept | |
template<class U > | |
SwapTrackingAlloc & | operator= (SwapTrackingAlloc< U > &&other) noexcept |
T * | allocate (size_t n) |
void | deallocate (T *p, size_t n) |
Private Attributes | |
std::allocator< T > | a_ |
folly::f14::Tracked< 0 > | t_ |
Friends | |
template<class U > | |
class | SwapTrackingAlloc |
Definition at line 351 of file F14TestUtil.h.
using folly::f14::SwapTrackingAlloc< T >::Alloc = std::allocator<T> |
Definition at line 353 of file F14TestUtil.h.
using folly::f14::SwapTrackingAlloc< T >::const_pointer = typename Alloc::const_pointer |
Definition at line 357 of file F14TestUtil.h.
using folly::f14::SwapTrackingAlloc< T >::const_reference = typename Alloc::const_reference |
Definition at line 359 of file F14TestUtil.h.
using folly::f14::SwapTrackingAlloc< T >::pointer = typename Alloc::pointer |
Definition at line 356 of file F14TestUtil.h.
using folly::f14::SwapTrackingAlloc< T >::propagate_on_container_copy_assignment = std::true_type |
Definition at line 363 of file F14TestUtil.h.
using folly::f14::SwapTrackingAlloc< T >::propagate_on_container_move_assignment = std::true_type |
Definition at line 364 of file F14TestUtil.h.
using folly::f14::SwapTrackingAlloc< T >::propagate_on_container_swap = std::true_type |
Definition at line 362 of file F14TestUtil.h.
using folly::f14::SwapTrackingAlloc< T >::reference = typename Alloc::reference |
Definition at line 358 of file F14TestUtil.h.
using folly::f14::SwapTrackingAlloc< T >::size_type = typename Alloc::size_type |
Definition at line 360 of file F14TestUtil.h.
using folly::f14::SwapTrackingAlloc< T >::value_type = typename Alloc::value_type |
Definition at line 354 of file F14TestUtil.h.
|
inline |
Definition at line 366 of file F14TestUtil.h.
|
inlinenoexcept |
Definition at line 369 of file F14TestUtil.h.
|
inlinenoexcept |
Definition at line 380 of file F14TestUtil.h.
|
inline |
Definition at line 390 of file F14TestUtil.h.
References folly::T, folly::f14::testAllocatedBlockCount, folly::f14::testAllocatedMemorySize, folly::f14::testAllocationCount, and folly::f14::testAllocationMaxCount.
|
inline |
Definition at line 399 of file F14TestUtil.h.
References folly::T, folly::f14::testAllocatedBlockCount, and folly::f14::testAllocatedMemorySize.
|
inlinenoexcept |
Definition at line 373 of file F14TestUtil.h.
|
inlinenoexcept |
Definition at line 410 of file F14TestUtil.h.
|
private |
Definition at line 406 of file F14TestUtil.h.
|
private |
Definition at line 407 of file F14TestUtil.h.