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

Classes

class  RingBuffer
 Memory manager in a ring buffer format. More...
 

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.
 

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 27 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 35 of file Memory.hpp.