proxygen
folly::pushmi::__adl::set_starting_fn Struct Reference

#include <extension_points.h>

Public Member Functions

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

Detailed Description

Definition at line 285 of file extension_points.h.

Member Function Documentation

requires Up&& up const folly::pushmi::__adl::set_starting_fn::noexcept ( noexcept(set_starting(s,(Up &&) up))  )
inline

Definition at line 292 of file extension_points.h.

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

292  {
293  try {
294  set_starting(s, (Up&&) up);
295  } catch (...) {
296  set_error(s, std::current_exception());
297  }
298  }
PUSHMI_INLINE_VAR constexpr __adl::set_starting_fn set_starting
static set< string > s
requires Invocable< S & > void set_error(S &, E &&) noexcept
requires folly::pushmi::__adl::set_starting_fn::requires ( set_starting(std::declval< S & >(), std::declval< Up && >())  ,
set_error(std::declval< S & >(), std::current_exception())   
)

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