proxygen
folly::pushmi::detail::switch_on_error_fn Struct Reference

#include <switch_on_error.h>

Classes

struct  in_impl
 
struct  on_error_impl
 
struct  out_impl
 

Public Member Functions

requires SemiMovable< ErrorSelector > auto operator() (ErrorSelector es) const
 

Detailed Description

Definition at line 26 of file switch_on_error.h.

Member Function Documentation

requires SemiMovable<ErrorSelector> auto folly::pushmi::detail::switch_on_error_fn::operator() ( ErrorSelector  es) const
inline

Definition at line 70 of file switch_on_error.h.

References folly::gen::move.

70  {
71  return in_impl<ErrorSelector>{std::move(es)};
72  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

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