proxygen
folly::pushmi::detail::get_fn< T >::on_error_impl Struct Reference

Public Member Functions

template<class E >
void operator() (E e) const noexcept
 
void operator() (std::exception_ptr ep) const noexcept
 

Public Attributes

::folly::pushmi::detail::opt< std::exception_ptr > * ep_
 

Detailed Description

template<class T>
struct folly::pushmi::detail::get_fn< T >::on_error_impl

Definition at line 350 of file submit.h.

Member Function Documentation

template<class T >
template<class E >
void folly::pushmi::detail::get_fn< T >::on_error_impl::operator() ( E  e) const
inlinenoexcept

Definition at line 353 of file submit.h.

353  {
354  *ep_ = std::make_exception_ptr(e);
355  }
::folly::pushmi::detail::opt< std::exception_ptr > * ep_
Definition: submit.h:351
template<class T >
void folly::pushmi::detail::get_fn< T >::on_error_impl::operator() ( std::exception_ptr  ep) const
inlinenoexcept

Definition at line 356 of file submit.h.

References folly::pushmi::detail::PUSHMI_TEMPLATE(), and folly::pushmi::detail::requires().

356  {
357  *ep_ = ep;
358  }
::folly::pushmi::detail::opt< std::exception_ptr > * ep_
Definition: submit.h:351

Member Data Documentation

template<class T >
::folly::pushmi::detail::opt<std::exception_ptr>* folly::pushmi::detail::get_fn< T >::on_error_impl::ep_

Definition at line 351 of file submit.h.


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