galaxy
1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
Memory.hpp
Go to the documentation of this file.
1
7
8
#ifndef GALAXY_MEM_MEMORY_HPP_
9
#define GALAXY_MEM_MEMORY_HPP_
10
11
#include <optional>
12
13
#include "
galaxy/meta/Concepts.hpp
"
14
15
namespace
galaxy
16
{
17
namespace
mem
18
{
26
template
<meta::is_
object
Type>
27
using
ref
= std::reference_wrapper<Type>;
28
34
template
<
typename
Type>
35
using
optional_ref
= std::optional<std::reference_wrapper<Type>>;
36
}
// namespace mem
37
}
// namespace galaxy
38
39
#endif
Concepts.hpp
galaxy::mem::optional_ref
std::optional< std::reference_wrapper< Type > > optional_ref
Optional reference.
Definition
Memory.hpp:35
galaxy::mem::ref
std::reference_wrapper< Type > ref
Reference wrapper.
Definition
Memory.hpp:27
galaxy
Timer.hpp galaxy.
Definition
Async.hpp:17
galaxy
src
galaxy
mem
Memory.hpp
Generated on Sat Mar 1 2025 14:49:36 for galaxy by
1.12.0