Aligns a pointer to the closest multiple of pot (a power of two), which is equal to or larger than value.
Count leading zeroes.
Generates a mixin string for repeating code. It can be used to unroll variadic arguments. A format string is instantiated a certain number times with an incrementing parameter. The results are then concatenated using an optional joiner.
Helper mixins to force enable/diasble inlining via pragma on recent compilers.
Helper mixins to force enable/diasble inlining via pragma on recent compilers.
Returns whether the (positive) argument is an integral power of two.
Get as an expression tuple the names of the fields of a struct, class, or union. This consists of the fields that take up memory space, excluding the hidden fields like the virtual function table pointer or a context pointer for nested types. If T isn't a struct, class, or union returns an expression tuple with an empty string.
For any integral type, returns the unsigned type of the same bit-width.
Helper functions that serve general purposes.