CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::Box::Storage Union Reference

A type that contains storage for the Box. More...

Public Member Functions

 Storage ()
 

Public Attributes

voidptr
 The pointer to the object. Only valid if the object is larger than kSmallSize.
 
char buffer [kSmallSize]
 The buffer to allocate the small object on.
 

Detailed Description

A type that contains storage for the Box.

Constructor & Destructor Documentation

◆ Storage()

CeresEngine::Box::Storage::Storage ( )
inlineexplicit

Member Data Documentation

◆ buffer

char CeresEngine::Box::Storage::buffer[kSmallSize]

The buffer to allocate the small object on.

Only valid if the object size is smaller or equal to kSmallSize.

◆ ptr

void* CeresEngine::Box::Storage::ptr

The pointer to the object. Only valid if the object is larger than kSmallSize.


The documentation for this union was generated from the following file: