proxygen
folly::pushmi::__adl::set_done_fn Struct Reference

#include <extension_points.h>

Public Member Functions

requires requires (set_done(std::declval< S & >()), set_error(std::declval< S & >(), std::current_exception()))) void operator()(S &&s) const noexcept(noexcept(set_done(s)))
 

Detailed Description

Definition at line 245 of file extension_points.h.

Member Function Documentation

requires folly::pushmi::__adl::set_done_fn::requires ( set_done(std::declval< S & >())  ,
set_error(std::declval< S & >(), std::current_exception())   
) const
inlinenoexcept

Definition at line 247 of file extension_points.h.

References folly::pushmi::__adl::set_done(), and folly::pushmi::__adl::set_error().

Referenced by folly::pushmi::__adl::do_submit_fn::noexcept().

251  {
252  try {
253  set_done(s);
254  } catch (...) {
255  set_error(s, std::current_exception());
256  }
257  }
requires Invocable< S & > void set_done(S &) noexcept
static set< string > s
requires Invocable< S & > void set_error(S &, E &&) noexcept

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