qb
2.0.0.0
C++17 Actor Framework
|
Determines the optimal integer type for size storage based on max capacity. More...
#include <string.h>
Public Types | |
using | type = std::size_t |
Determines the optimal integer type for size storage based on max capacity.
Selects the smallest possible unsigned integer type that can hold the size value, which helps minimize memory usage.
_Size | Maximum size of the string + 1 (for null terminator) |
fill8 | True if size fits in uint8_t |
fill16 | True if size fits in uint16_t |