Lugdunum
0.1.0
include
lug
System
Memory
Allocator
Basic.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstddef>
4
#include <
lug/System/Export.hpp
>
5
6
namespace
lug
{
7
namespace
System {
8
namespace
Memory {
9
namespace
Allocator {
10
11
class
LUG_SYSTEM_API
Basic
{
12
public
:
13
Basic
() =
default
;
14
Basic
(
const
Basic
&) =
delete
;
15
Basic
(
Basic
&&) =
default
;
16
17
Basic
& operator=(
const
Basic
&) =
delete
;
18
Basic
& operator=(
Basic
&&) =
default
;
19
20
~
Basic
() =
default
;
21
22
void
* allocate(
size_t
size,
size_t
alignment,
size_t
offset)
const
;
23
void
free(
void
* ptr)
const
;
24
void
reset()
const
;
25
26
size_t
getSize(
void
* ptr)
const
;
27
};
28
29
}
// Allocator
30
}
// Memory
31
}
// System
32
}
// lug
Export.hpp
LUG_SYSTEM_API
#define LUG_SYSTEM_API
Definition:
Export.hpp:11
lug::System::Memory::Allocator::Basic
Definition:
Basic.hpp:11
lug
Definition:
Application.hpp:11
Generated by
1.8.13