qxLib
|
Class contains static buffers of different types. More...
#include <static_buffer.h>
Public Member Functions | |
template<class T > | |
T & | get_buffer () |
Get buffer of type T. More... | |
void | clear () |
Clear all buffers. More... | |
Class contains static buffers of different types.
These buffers may be used to decrease number of allocations when you need temporary storage
Definition at line 28 of file static_buffer.h.
|
inline |
Clear all buffers.
Definition at line 60 of file static_buffer.h.
|
inline |
Get buffer of type T.
T | - buffer type |
- | buffer instance |
Definition at line 39 of file static_buffer.h.