proxygen
folly::None Struct Reference

#include <Optional.h>

Public Types

enum  _secret { _secret::_token }
 

Public Member Functions

constexpr None (_secret)
 

Detailed Description

Definition at line 78 of file Optional.h.

Member Enumeration Documentation

enum folly::None::_secret
strong
Enumerator
_token 

Definition at line 79 of file Optional.h.

79 { _token };

Constructor & Destructor Documentation

constexpr folly::None::None ( _secret  )
inlineexplicit

No default constructor to support both op = {} and op = none as syntax for clearing an Optional, just like std::nullopt_t.

Definition at line 85 of file Optional.h.

85 {}

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