BloombergLP::bdlt::DayOfWeekSet_Iter::DayOfWeekSet_Iter

Create an iterator from the specified data bitmask and index.

Synopsis

Declared in <bdlt_dayofweekset.h>

DayOfWeekSet_Iter(
    int data,
    int index);

Description

If index is 1, this iterator references the first valid element of data; if index is 8, then this iterator references one past the last possible element in data. The behavior is undefined unless 0 == (data & 1), index >= 0, and index <= 8.

Parameters

NameDescription
datadays-of-week bitmask with bit 0 unused
indexiterator position in [0 .. 8]