Quick Links:

bal | bbl | bdl | bsl

Namespaces

Component bdlb_optionalprinter
[Package bdlb]

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:
bdlb::OptionalPrinter utility for printing bsl::optional
bdlb::OptionalPrinterUtil factory for constructing bdlb::OptionalPrinter
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: