proxygen
folly::pushmi::same_executor_factory_fn< Exec > Class Template Reference

#include <strand.h>

Public Member Functions

 same_executor_factory_fn (Exec ex)
 
auto operator() () const
 

Private Attributes

Exec ex_
 

Detailed Description

template<class Exec>
class folly::pushmi::same_executor_factory_fn< Exec >

Definition at line 232 of file strand.h.

Constructor & Destructor Documentation

template<class Exec >
folly::pushmi::same_executor_factory_fn< Exec >::same_executor_factory_fn ( Exec  ex)
inlineexplicit

Definition at line 236 of file strand.h.

236 : ex_(std::move(ex)) {}
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

Member Function Documentation

template<class Exec >
auto folly::pushmi::same_executor_factory_fn< Exec >::operator() ( ) const
inline

Definition at line 237 of file strand.h.

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

237  {
238  return ex_;
239  }

Member Data Documentation

template<class Exec >
Exec folly::pushmi::same_executor_factory_fn< Exec >::ex_
private

Definition at line 233 of file strand.h.


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