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
galaxy::mem Namespace Reference

Typedefs

template<meta::is_object Object>
using ref = std::reference_wrapper<Object>
 Reference wrapper.
 
template<meta::is_object Object>
using opt_ref = std::optional<std::reference_wrapper<Object>>
 Optional reference.
 
template<typename Type >
using vec_ref = std::reference_wrapper<std::vector<Type>>
 Vector reference.
 

Typedef Documentation

◆ ref

template<meta::is_object Object>
using galaxy::mem::ref = std::reference_wrapper<Object>

Reference wrapper.

Stores a pointer that can only be accessed as a reference.

Template Parameters
ObjectAny type that can be a reference.

Definition at line 28 of file Memory.hpp.

◆ opt_ref

template<meta::is_object Object>
using galaxy::mem::opt_ref = std::optional<std::reference_wrapper<Object>>

Optional reference.

Template Parameters
ObjectAny type that can be a reference.

Definition at line 36 of file Memory.hpp.

◆ vec_ref

template<typename Type >
using galaxy::mem::vec_ref = std::reference_wrapper<std::vector<Type>>

Vector reference.

Template Parameters
TypeVector type.

Reference wrapped std::vector.

Definition at line 46 of file Memory.hpp.