LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::GrowStrategyDouble Struct Reference

Container capacity grow strategy to increase the capacity to 200%. More...

#include <SmallVector.h>

Static Public Member Functions

static std::size_t Grow (std::size_t size)
 Returns the increased size by multiplying by two, effectively doubling the input size. This is always greater than or equal to size.

Detailed Description

Container capacity grow strategy to increase the capacity to 200%.

See also
SmallVector

Member Function Documentation

◆ Grow()

std::size_t LLGL::GrowStrategyDouble::Grow ( std::size_t size)
inlinestatic

Returns the increased size by multiplying by two, effectively doubling the input size. This is always greater than or equal to size.


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