20 template <
typename T>
class StlAllocator :
public std::allocator<T>
23 using Base = std::allocator<T>;
45 using RawPointer =
typename std::allocator_traits<std::allocator<T>>::pointer;
54#if _LIBCPP_STD_VER > 20
Definition StlAllocator.h:21
void deallocate(RawPointer p, size_type)
Definition StlAllocator.h:58
typename std::allocator_traits< std::allocator< T > >::pointer RawPointer
Definition StlAllocator.h:45
RawPointer allocate(size_type n, const void *hint=nullptr)
Definition StlAllocator.h:47
std::size_t size_type
Definition StlAllocator.h:38
Allocator * m_allocator
Definition StlAllocator.h:64
StlAllocator(Allocator *allocator) noexcept
Definition StlAllocator.h:27
StlAllocator() noexcept
Definition StlAllocator.h:25
StlAllocator(const StlAllocator< U > &a) noexcept
Definition StlAllocator.h:31
~StlAllocator()
Definition StlAllocator.h:36
std::allocator< T > Base
Definition StlAllocator.h:23
StlAllocator(const StlAllocator< T > &a) noexcept
Definition StlAllocator.h:29
aws_allocator Allocator
Definition Allocator.h:14
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition Allocator.cpp:24
std::unique_ptr< T, std::function< void(T *)> > ScopedResource
Definition Types.h:163
Definition Allocator.h:11
Definition StlAllocator.h:41
StlAllocator< U > other
Definition StlAllocator.h:42