extractFirstSet
Synopsis
Declared in <folly/lang/Bits.h>
template<typename T>
constexpr
T
extractFirstSet(T const v);
Description
Return a value where all the bits but the least significant are cleared.
Return Value
A value with only the least significant set bit of v retained, or 0 if v == 0.
Parameters
Name |
Description |
v |
The unsigned value to examine. |
Created with MrDocs