proxygen
folly::Unexpected< Error >::MakeBadExpectedAccess Struct Reference

Public Member Functions

template<class E >
BadExpectedAccess operator() (E &&err) const
 

Detailed Description

template<class Error>
struct folly::Unexpected< Error >::MakeBadExpectedAccess

Definition at line 746 of file Expected.h.

Member Function Documentation

template<class Error>
template<class E >
BadExpectedAccess folly::Unexpected< Error >::MakeBadExpectedAccess::operator() ( E &&  err) const
inline

Definition at line 748 of file Expected.h.

748  {
749  return BadExpectedAccess(static_cast<E&&>(err));
750  }

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