Quick Links: |
#include <bdlb_optionalprinter.h>
Static Public Member Functions | |
template<class TYPE > | |
static OptionalPrinter< TYPE > | makePrinter (const bsl::optional< TYPE > &data) |
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 Component bdlb_optionalprinter
static OptionalPrinter<TYPE> bdlb::OptionalPrinterUtil::makePrinter | ( | const bsl::optional< TYPE > & | data | ) | [static] |
Return an OptionalPrinter
that prints the specified data
.