BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlb::OptionalPrinterUtil Struct Reference

#include <bdlb_optionalprinter.h>

Detailed Description

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.

See bdlb_optionalprinter

Static Public Member Functions

template<class TYPE >
static OptionalPrinter< TYPE > makePrinter (const bsl::optional< TYPE > &data)
 

Member Function Documentation

◆ makePrinter()

template<class TYPE >
OptionalPrinter< TYPE > bdlb::OptionalPrinterUtil::makePrinter ( const bsl::optional< TYPE > &  data)
static

Return an OptionalPrinter that prints the specified data.


The documentation for this struct was generated from the following file: