KTL
stack_allocator_fwd.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
shared_fwd.h
"
4
#include "
threaded_fwd.h
"
5
#include "
type_allocator_fwd.h
"
6
7
#include <cstddef>
8
9
namespace
ktl
10
{
11
// stack
12
template
<
size_t
Size>
13
struct
stack;
14
15
// stack_allocator
16
template
<
size_t
Size>
17
class
stack_allocator;
18
22
template
<
typename
T,
size_t
Size>
23
using
type_stack_allocator
=
type_allocator<T, stack_allocator<Size>
>;
24
28
template
<
typename
T,
size_t
Size>
29
using
type_shared_stack_allocator
=
type_allocator<T, shared<stack_allocator<Size>
>>;
30
}
ktl::type_allocator
Wrapper class for making an untyped allocator into a typed allocator.
Definition:
type_allocator.h:20
ktl
Definition:
cascading.h:15
shared_fwd.h
threaded_fwd.h
type_allocator_fwd.h
include
ktl
allocators
stack_allocator_fwd.h
Generated by
1.9.1