|
BDE 4.14.0 Production release
|
Provide an enumeration of the set of days of the week.
This component provides a namespace for the enum type bdlt::DayOfWeek::Enum, which enumerates the set of days of the week.
This section illustrates intended use of this component.
The following snippets of code provide a simple illustration of bdlt::DayOfWeek operation.
First, create a variable, day, of type bdlt::DayOfWeek::Enum, and initialize it to the value bdlt::DayOfWeek::e_MONDAY:
Next, store its representation in a variable, rep, of type const char *:
Finally, we print the value of day to stdout:
This statement produces the following output on stdout: