Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::core::fixed_capacity< C > Struct Template Reference

Compile-time capacity of a container that can never grow. Zero for containers that can. Fixed-capacity containers specialize this so algorithms skip code for sizes they can never hold, e.g. sort() only instantiates the sorting networks and the introsort path this capacity can reach. More...

#include <utility.h>

+ Inheritance diagram for gaia::core::fixed_capacity< C >:

Detailed Description

template<typename C>
struct gaia::core::fixed_capacity< C >

Compile-time capacity of a container that can never grow. Zero for containers that can. Fixed-capacity containers specialize this so algorithms skip code for sizes they can never hold, e.g. sort() only instantiates the sorting networks and the introsort path this capacity can reach.

Template Parameters
CContainer type.

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