KTL
type_allocator.h File Reference
#include "../utility/empty_base.h"
#include "../utility/meta.h"
#include "type_allocator_fwd.h"
#include <memory>
#include <type_traits>

Go to the source code of this file.

Classes

class  ktl::type_allocator< T, Alloc >
 Wrapper class for making an untyped allocator into a typed allocator. More...
 
struct  ktl::type_allocator< T, Alloc >::rebind< U >
 

Namespaces

 ktl
 

Functions

template<typename T , typename U , typename Alloc >
bool ktl::operator== (const type_allocator< T, Alloc > &lhs, const type_allocator< U, Alloc > &rhs) noexcept(detail::has_nothrow_equal_v< Alloc >)
 
template<typename T , typename U , typename Alloc >
bool ktl::operator!= (const type_allocator< T, Alloc > &lhs, const type_allocator< U, Alloc > &rhs) noexcept(detail::has_nothrow_not_equal_v< Alloc >)