proxygen
|
#include <F14TestUtil.h>
Public Types | |
using | value_type = T |
using | pointer = T * |
using | const_pointer = T const * |
using | reference = T & |
using | const_reference = T const & |
using | size_type = std::size_t |
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 |
using | AllocBytesFunc = folly::Function< void *(std::size_t)> |
using | DeallocBytesFunc = folly::Function< void(void *, std::size_t)> |
Public Member Functions | |
GenericAlloc ()=delete | |
template<typename A , typename D > | |
GenericAlloc (A &&alloc, D &&dealloc) | |
template<class U > | |
GenericAlloc (GenericAlloc< U > const &other) noexcept | |
template<class U > | |
GenericAlloc & | operator= (GenericAlloc< U > const &other) noexcept |
template<class U > | |
GenericAlloc (GenericAlloc< U > &&other) noexcept | |
template<class U > | |
GenericAlloc & | operator= (GenericAlloc< U > &&other) noexcept |
T * | allocate (size_t n) |
void | deallocate (T *p, size_t n) |
template<typename U > | |
bool | operator== (GenericAlloc< U > const &rhs) const |
template<typename U > | |
bool | operator!= (GenericAlloc< U > const &rhs) const |
Private Attributes | |
std::shared_ptr< AllocBytesFunc > | alloc_ |
std::shared_ptr< DeallocBytesFunc > | dealloc_ |
Friends | |
template<class U > | |
class | GenericAlloc |
Definition at line 470 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::AllocBytesFunc = folly::Function<void*(std::size_t)> |
Definition at line 484 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::const_pointer = T const* |
Definition at line 475 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::const_reference = T const& |
Definition at line 477 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::DeallocBytesFunc = folly::Function<void(void*, std::size_t)> |
Definition at line 485 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::pointer = T* |
Definition at line 474 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::propagate_on_container_copy_assignment = std::true_type |
Definition at line 481 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::propagate_on_container_move_assignment = std::true_type |
Definition at line 482 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::propagate_on_container_swap = std::true_type |
Definition at line 480 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::reference = T& |
Definition at line 476 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::size_type = std::size_t |
Definition at line 478 of file F14TestUtil.h.
using folly::f14::GenericAlloc< T >::value_type = T |
Definition at line 472 of file F14TestUtil.h.
|
delete |
|
inline |
Definition at line 490 of file F14TestUtil.h.
|
inlinenoexcept |
Definition at line 496 of file F14TestUtil.h.
|
inlinenoexcept |
Definition at line 507 of file F14TestUtil.h.
|
inline |
|
inline |
Definition at line 520 of file F14TestUtil.h.
References folly::T.
|
inline |
|
inlinenoexcept |
Definition at line 500 of file F14TestUtil.h.
|
inlinenoexcept |
Definition at line 511 of file F14TestUtil.h.
References folly::gen::move.
|
inline |
Definition at line 525 of file F14TestUtil.h.
References folly::f14::GenericAlloc< T >::alloc_.
Definition at line 539 of file F14TestUtil.h.
|
private |
Definition at line 535 of file F14TestUtil.h.
Referenced by folly::f14::GenericAlloc< T >::operator==().
|
private |
Definition at line 536 of file F14TestUtil.h.