This utility struct provides a namespace for a function that creates a bdlb::OptionalPrinter with its template argument deduced from a given instance of bsl::optional.

Synopsis

Declared in <bdlb_optionalprinter.h>

struct OptionalPrinterUtil;

Static Member Functions

Name

Description

makePrinter

Return an OptionalPrinter that prints the specified data.

Created with MrDocs