KTL
linear_allocator_fwd.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
reference_fwd.h
"
4
#include "
shared_fwd.h
"
5
#include "
threaded_fwd.h
"
6
#include "
type_allocator_fwd.h
"
7
8
#include <cstddef>
9
10
namespace
ktl
11
{
12
// linear_allocator
13
template
<
size_t
Size>
14
class
linear_allocator;
15
19
template
<
typename
T,
size_t
Size>
20
using
type_linear_allocator
=
type_allocator<T, linear_allocator<Size>
>;
21
25
template
<
typename
T,
size_t
Size>
26
using
type_reference_linear_allocator
=
type_allocator<T, reference<linear_allocator<Size>
>>;
27
31
template
<
typename
T,
size_t
Size>
32
using
type_shared_linear_allocator
=
type_allocator<T, shared<linear_allocator<Size>
>>;
33
}
ktl::type_allocator
Wrapper class for making an untyped allocator into a typed allocator.
Definition:
type_allocator.h:20
ktl
Definition:
cascading.h:15
reference_fwd.h
shared_fwd.h
threaded_fwd.h
type_allocator_fwd.h
include
ktl
allocators
linear_allocator_fwd.h
Generated by
1.9.1