proxygen
folly::Optional< Value >::PrivateConstructor Struct Reference

Public Member Functions

 PrivateConstructor ()=default
 

Detailed Description

template<class Value>
struct folly::Optional< Value >::PrivateConstructor

Construct the optional in place, this is duplicated as a non-explicit constructor to allow returning values that are non-movable from make_optional using list initialization.

Until C++17, at which point this will become unnecessary because of specified prvalue elision.

Definition at line 363 of file Optional.h.

Constructor & Destructor Documentation

template<class Value>
folly::Optional< Value >::PrivateConstructor::PrivateConstructor ( )
explicitdefault

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