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
14
15namespace 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
std::optional< std::reference_wrapper< Type > > optional_ref
Optional reference.
Definition Memory.hpp:35
std::reference_wrapper< Type > ref
Reference wrapper.
Definition Memory.hpp:27
Timer.hpp galaxy.
Definition Async.hpp:17