NAME
A member ctor of omni::stack_buffer
omni::stack_buffer::stack_buffer
A member ctor of omni::stack_buffer
#include <omni/stack_buffer.hpp>omni::stack_buffer::stack_buffer(T val1, ... NaN)
PARAMETERS
top
val1... - The value(s) to assign each of the stack_buffer's underlying buffer up to val+SZ.
top
CONSIDERATIONS
Be aware, due to the variadic argument list being used, if the backing type is that of a float or double, the values passed in must either be named types or explicitly defined; for example, you must have variables defined as a
top
Be aware, due to the variadic argument list being used, if the backing type is that of a float or double, the values passed in must either be named types or explicitly defined; for example, you must have variables defined as a
double and passing in those variables or you must explicitly pass in 10.0 (for example) for each value. Failure to do this could cause the underlying floating types to be mis-read by the va_arg list due to certain casting behavior by some compilers/environments.
top