libcopp
2.3.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
c
d
f
g
h
i
m
o
p
r
s
t
w
y
Variables
_
a
b
c
d
e
f
g
h
l
m
o
p
r
s
t
u
w
x
Typedefs
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
e
l
s
u
Related Symbols
_
d
e
i
l
o
r
s
w
Files
File List
Globals
All
_
b
c
e
g
j
l
m
o
p
r
s
t
u
w
Functions
b
c
g
j
m
o
p
r
s
t
Variables
b
c
g
m
s
t
Typedefs
Enumerations
Enumerator
c
e
Macros
_
c
l
m
s
t
u
w
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
include
libcopp
stack
stack_allocator.h
Go to the documentation of this file.
1
// Copyright 2023 owent
2
3
#pragma once
4
5
#include <libcopp/utils/config/libcopp_build_features.h>
6
7
#include <
libcopp/utils/features.h
>
8
9
#include "
allocator/stack_allocator_malloc.h
"
10
#include "
allocator/stack_allocator_memory.h
"
11
#include "
allocator/stack_allocator_pool.h
"
12
13
#ifdef LIBCOPP_MACRO_USE_SEGMENTED_STACKS
14
# include "
allocator/stack_allocator_split_segment.h
"
15
#endif
16
17
#ifdef LIBCOPP_MACRO_SYS_POSIX
18
# include "
allocator/stack_allocator_posix.h
"
19
LIBCOPP_COPP_NAMESPACE_BEGIN
20
namespace
allocator
{
21
using
default_statck_allocator = stack_allocator_posix;
22
}
23
LIBCOPP_COPP_NAMESPACE_END
24
25
#elif defined(LIBCOPP_MACRO_SYS_WIN)
26
27
# include "
allocator/stack_allocator_windows.h
"
28
LIBCOPP_COPP_NAMESPACE_BEGIN
29
namespace
allocator
{
30
using
default_statck_allocator = stack_allocator_windows;
31
}
32
LIBCOPP_COPP_NAMESPACE_END
33
34
#else
35
36
# error unknown stack allocator
37
38
#endif
features.h
allocator
Definition
stack_allocator_malloc.h:18
stack_allocator_malloc.h
stack_allocator_memory.h
stack_allocator_pool.h
stack_allocator_posix.h
stack_allocator_split_segment.h
stack_allocator_windows.h
Generated by
1.9.8