template<typename DataType, typename ReturnType = DataType>
struct xiiIterateBitValues< DataType, ReturnType >
Helper class to iterate over the bit values of an integer. The class can iterate over the bits of any unsigned integer type that is equal to or smaller than xiiUInt64.
xiiUInt64 bits = 0b1101;
for (auto bit : xiiIterateBitValues(bits))
{
}
static void Info(xiiLogInterface *pInterface, const xiiFormatString &string)
Status information that is important.
Definition Log.cpp:386
- Template Parameters
-
| DataType | The type of data that is being iterated over. |
| ReturnType | Returned value type of the iterator. Defaults to same as DataType. |