Expand description
Holds several helpful macros related to primitives.
Macros§
- make_
length - Creates
Lengthout of passed expression. If the expression is a literal integer value, then this will check the value at compile time instead of runtime. Otherwise it will produce potential runtime validity checks, depending on compiler’s optimizations. - make_
offset - Creates
Offsetout of passed expression. If the expression is a literal integer value, then this will check the value at compile time instead of runtime. Otherwise it will produce potential runtime validity checks, depending on compiler’s optimizations. - try_
unpack - This macro works as
?operator, but forCResulttype.