IntegerOps::shift_to¶
Create a shifted value. The return value is created by shifting value to the specified position in the result. Other bits of the return value are clear. The hibit is specified so that we can check at run-time that a valid value was specified (i.e., the value isn't too wide).
Synopsis¶
Declared in <src/Rose/StringUtility/IntegerOps.h>
template<
size_t lobit,
size_t hibit,
typename T>
T
shift_to(T value); Return Value¶
Shifted value. @{
Parameters¶
| Name | Description |
|---|---|
| value | Input value. |
Created with MrDocs