IntegerOps::extract¶
Extract bits from a value. Bits lobit through hibit, inclusive, are right shifted into the result and higher-order bits of the result are cleared.
Synopsis¶
Declared in <src/Rose/StringUtility/IntegerOps.h>
template<
size_t lobit,
size_t hibit,
typename T>
T
extract(T bits); Return Value¶
Extracted bits. @{
Parameters¶
| Name | Description |
|---|---|
| bits | Input value. |
Created with MrDocs