4 ms·
std::span should apply, but std::optional is at least as large as the type it wraps.
by nemetroid 3y ago
std::span should apply, but std::optional is at least as large as the type it wraps.
- fyrn_ 3y agoAlmost always 8 + the size of the type. Since it's a one byte book followed by 7 padding bytes, followed by the type itself.