|
void * | folly::allocateBytes (size_t n) |
|
void | folly::deallocateBytes (void *p, size_t n) |
|
void * | folly::aligned_malloc (size_t size, size_t align) |
|
void | folly::aligned_free (void *aligned_ptr) |
|
template<typename Alloc , size_t kAlign, bool kAllocate> |
void | folly::detail::rawOverAlignedImpl (Alloc const &alloc, size_t n, void *&raw) |
|
template<typename Alloc , size_t kAlign = alignof(typename std::allocator_traits<Alloc>::value_type)> |
std::allocator_traits< Alloc >::pointer | folly::allocateOverAligned (Alloc const &alloc, size_t n) |
|
template<typename Alloc , size_t kAlign = alignof(typename std::allocator_traits<Alloc>::value_type)> |
void | folly::deallocateOverAligned (Alloc const &alloc, typename std::allocator_traits< Alloc >::pointer ptr, size_t n) |
|
template<typename Alloc , size_t kAlign = alignof(typename std::allocator_traits<Alloc>::value_type)> |
size_t | folly::allocationBytesForOverAligned (size_t n) |
|
template<typename T , typename... Args> |
std::enable_if<!std::is_array< T >::value, std::unique_ptr< T > >::type | folly::make_unique (Args &&...args) |
|
template<typename T > |
std::enable_if< std::is_array< T >::value, std::unique_ptr< T > >::type | folly::make_unique (const size_t n) |
|
template<typename T , typename... Args> |
std::enable_if< std::extent< T >::value!=0, std::unique_ptr< T > >::type | folly::make_unique (Args &&...)=delete |
|
template<typename T , typename D > |
std::shared_ptr< T > | folly::to_shared_ptr (std::unique_ptr< T, D > &&ptr) |
|
template<typename T > |
std::weak_ptr< T > | folly::to_weak_ptr (const std::shared_ptr< T > &ptr) |
|
template<typename T , typename Alloc , typename... Args> |
std::unique_ptr< T, allocator_delete< Alloc > > | folly::allocate_unique (Alloc const &alloc, Args &&...args) |
|
SysBufferUniquePtr | folly::allocate_sys_buffer (std::size_t size) |
|
| folly::detail::FOLLY_CREATE_MEMBER_INVOKE_TRAITS (AllocatorConstruct_, construct) |
|
| folly::detail::FOLLY_CREATE_MEMBER_INVOKE_TRAITS (AllocatorDestroy_, destroy) |
|