![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Array class specialization for zero-sized arrays. More...
#include <array.hpp>
Public Member Functions | |
| array () | |
| Default constructor. | |
| array (const T *(&elems)) | |
| Construct from a pointer (no-op). | |
| T | operator[] (size_t index) |
| Element access (aborts, array is empty). | |
| array_iterator< T > | begin () |
| Return an iterator to the beginning (empty range). | |
| array_iterator< T > | end () |
| Return an iterator to the end (empty range). | |
| size_t | size () |
| Return the number of elements (always 0). | |
| T * | ptr () |
| Return a null pointer (no data). | |
Array class specialization for zero-sized arrays.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |