IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
mem_allocator_host.hxx
Go to the documentation of this file.
1
3
4#pragma once
6
7namespace ice
8{
9
10 class HostAllocator final : public ice::Allocator
11 {
12 public:
13 HostAllocator(std::source_location = std::source_location::current()) noexcept;
14
15 protected:
16 auto do_allocate(ice::AllocRequest request) noexcept -> ice::AllocResult override;
17 void do_deallocate(void* pointer) noexcept override;
18 };
19
20} // namespace ice
HostAllocator(std::source_location=std::source_location::current()) noexcept
void do_deallocate(void *pointer) noexcept override
auto do_allocate(ice::AllocRequest request) noexcept -> ice::AllocResult override
SPDX-License-Identifier: MIT.
Definition array.hxx:12
ice::AllocatorBase< ice::build::is_debug||ice::build::is_develop > Allocator
Definition mem_types.hxx:25
Definition mem.hxx:16
Definition mem.hxx:44