Provide a suite of helper classes for printing bsl::optional
.
More...
Namespaces |
namespace | bdlb |
Detailed Description
- Outline
-
-
- Purpose:
- Provide a suite of helper classes for printing
bsl::optional
.
-
- Classes:
-
-
- Description:
- This component provides utility classes
bdlb::OptionalPrinter
and bdlb::OptionalPrinterUtil
for printing bsl::optional
.
-
- Usage:
- This section illustrates intended use of this component.
-
- Example 1: Printing bsl::optional to a stream:
- In this example, we demonstrate how to use
bdlb::OptionalPrinterUtil
to print bsl::optional
to a stream: