[#BloombergLP-bdlt-DayOfWeekSet_Iter-2constructor-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DayOfWeekSet_Iter.adoc[DayOfWeekSet_Iter]::DayOfWeekSet_Iter :relfileprefix: ../../../ :mrdocs: Create an iterator from the specified `data` bitmask and `index`. == Synopsis Declared in `<bdlt_dayofweekset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *data* | days‐of‐week bitmask with bit 0 unused | *index* | iterator position in `[0 .. 8]` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#