BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlb::OptionalPrinterUtil Struct Reference

#include <bdlb_optionalprinter.h>

Static Public Member Functions

template<class TYPE >
static OptionalPrinter< TYPE > makePrinter (const bsl::optional< TYPE > &data)
 Return an OptionalPrinter that prints the specified data.
 

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.

Member Function Documentation

◆ makePrinter()

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

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