#include <counting_allocator.h>
Classes | |
class | rebind |
Public Types | |
using | Allocator = std::allocator< T > |
using | Allocator = std::allocator< T > |
using | AllocatorTraits = std::allocator_traits< Allocator > |
using | AllocatorTraits = std::allocator_traits< Allocator > |
using | const_pointer = typename AllocatorTraits::const_pointer |
using | const_pointer = typename AllocatorTraits::const_pointer |
using | difference_type = typename AllocatorTraits::difference_type |
using | difference_type = typename AllocatorTraits::difference_type |
using | pointer = typename AllocatorTraits::pointer |
using | pointer = typename AllocatorTraits::pointer |
using | size_type = typename AllocatorTraits::size_type |
using | size_type = typename AllocatorTraits::size_type |
using | value_type = typename AllocatorTraits::value_type |
using | value_type = typename AllocatorTraits::value_type |
Public Member Functions | |
pointer | allocate (size_type n, typename AllocatorTraits::const_void_pointer hint=nullptr) |
pointer | allocate (size_type n, typename AllocatorTraits::const_void_pointer hint=nullptr) |
template<typename U , typename... Args> | |
void | construct (U *p, Args &&... args) |
template<typename U , typename... Args> | |
void | construct (U *p, Args &&... args) |
CountingAllocator ()=default | |
CountingAllocator ()=default | |
template<typename U > | |
CountingAllocator (const CountingAllocator< U > &x) | |
template<typename U > | |
CountingAllocator (const CountingAllocator< U > &x) | |
CountingAllocator (int64_t *bytes_used) | |
CountingAllocator (int64_t *bytes_used) | |
CountingAllocator (int64_t *bytes_used, int64_t *instance_count) | |
CountingAllocator (int64_t *bytes_used, int64_t *instance_count) | |
void | deallocate (pointer p, size_type n) |
void | deallocate (pointer p, size_type n) |
template<typename U > | |
void | destroy (U *p) |
template<typename U > | |
void | destroy (U *p) |
Public Attributes | |
int64_t * | bytes_used_ = nullptr |
int64_t * | instance_count_ = nullptr |
Friends | |
bool | operator!= (const CountingAllocator &a, const CountingAllocator &b) |
bool | operator!= (const CountingAllocator &a, const CountingAllocator &b) |
bool | operator== (const CountingAllocator &a, const CountingAllocator &b) |
bool | operator== (const CountingAllocator &a, const CountingAllocator &b) |
Definition at line 33 of file abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::Allocator = std::allocator<T> |
Definition at line 35 of file abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::Allocator = std::allocator<T> |
Definition at line 35 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::AllocatorTraits = std::allocator_traits<Allocator> |
Definition at line 36 of file abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::AllocatorTraits = std::allocator_traits<Allocator> |
Definition at line 36 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::const_pointer = typename AllocatorTraits::const_pointer |
Definition at line 39 of file abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::const_pointer = typename AllocatorTraits::const_pointer |
Definition at line 39 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::difference_type = typename AllocatorTraits::difference_type |
Definition at line 41 of file abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::difference_type = typename AllocatorTraits::difference_type |
Definition at line 41 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::pointer = typename AllocatorTraits::pointer |
Definition at line 38 of file abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::pointer = typename AllocatorTraits::pointer |
Definition at line 38 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::size_type = typename AllocatorTraits::size_type |
Definition at line 40 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::size_type = typename AllocatorTraits::size_type |
Definition at line 40 of file abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::value_type = typename AllocatorTraits::value_type |
Definition at line 37 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
using absl::container_internal::CountingAllocator< T >::value_type = typename AllocatorTraits::value_type |
Definition at line 37 of file abseil-cpp/absl/container/internal/counting_allocator.h.
|
default |
|
inlineexplicit |
Definition at line 44 of file abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 45 of file abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 49 of file abseil-cpp/absl/container/internal/counting_allocator.h.
|
default |
|
inlineexplicit |
Definition at line 44 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 45 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 49 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 52 of file abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 52 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 72 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 72 of file abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 63 of file abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 63 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 81 of file abseil-cpp/absl/container/internal/counting_allocator.h.
|
inline |
Definition at line 81 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
|
friend |
Definition at line 101 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
|
friend |
Definition at line 109 of file abseil-cpp/absl/container/internal/counting_allocator.h.
|
friend |
Definition at line 95 of file bloaty/third_party/abseil-cpp/absl/container/internal/counting_allocator.h.
|
friend |
Definition at line 103 of file abseil-cpp/absl/container/internal/counting_allocator.h.
int64_t * absl::container_internal::CountingAllocator< T >::bytes_used_ = nullptr |
Definition at line 114 of file abseil-cpp/absl/container/internal/counting_allocator.h.
int64_t * absl::container_internal::CountingAllocator< T >::instance_count_ = nullptr |
Definition at line 115 of file abseil-cpp/absl/container/internal/counting_allocator.h.