KTL
segragator_fwd.h File Reference
#include "reference_fwd.h"
#include "shared_fwd.h"
#include "threaded_fwd.h"
#include "type_allocator_fwd.h"
#include "../utility/builder.h"
#include <cstddef>
#include <tuple>

Go to the source code of this file.

Classes

struct  ktl::detail::segragator_builder< R, std::tuple< Alloc > >
 
struct  ktl::detail::segragator_builder< R, std::tuple< Ts... > >
 

Namespaces

 ktl
 
 ktl::detail
 

Typedefs

template<typename ... Ts>
using ktl::segragator_builder_min = typename detail::segragator_builder< false, std::tuple< Ts... > >::type
 A type builder for a left-leaning segragator allocator. More...
 
template<typename ... Ts>
using ktl::segragator_builder_max = typename detail::segragator_builder< true, std::tuple< Ts... > >::type
 A type builder for a right-leaning segragator allocator. More...
 
template<size_t N>
using ktl::threshold = std::integral_constant< size_t, N >
 A shorthand way of writing std::integral_constant<size_t, N> More...
 
template<typename T , size_t Threshold, typename P , typename F >
using ktl::type_segragator_allocator = type_allocator< T, segragator< Threshold, P, F > >
 Shorthand for a typed segragator allocator. More...
 
template<typename T , size_t Threshold, typename P , typename F >
using ktl::type_reference_segragator_allocator = type_allocator< T, reference< segragator< Threshold, P, F > >>
 Shorthand for a typed, weak-reference segragator allocator. More...
 
template<typename T , size_t Threshold, typename P , typename F >
using ktl::type_shared_segragator_allocator = type_allocator< T, shared< segragator< Threshold, P, F > >>
 Shorthand for a typed, ref-counted segragator allocator. More...