galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages Concepts
galaxy::mem Namespace Reference

Classes

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

Typedefs

template<meta::is_object Type>
using ref = std::reference_wrapper<Type>
 Reference wrapper.
 
template<typename Type >
using optional_ref = std::optional<std::reference_wrapper<Type>>
 Optional reference.
 

Typedef Documentation

◆ ref

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

Reference wrapper.

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

Template Parameters
TypeAny type that can be a reference.

Definition at line 27 of file Memory.hpp.

◆ optional_ref

template<typename Type >
using galaxy::mem::optional_ref = std::optional<std::reference_wrapper<Type>>

Optional reference.

Template Parameters
TypeAny type that can be a reference.

Definition at line 35 of file Memory.hpp.