proxygen
folly::pushmi::__adl Namespace Reference

Classes

struct  do_submit_fn
 
struct  get_executor_fn
 
struct  get_top_fn
 
struct  set_done_fn
 
struct  set_error_fn
 
struct  set_starting_fn
 
struct  set_value_fn
 

Functions

requires requires (std::declval< S & >().done())) void set_done(S &s) noexcept(noexcept(s.done()))
 
requires requires (std::declval< S & >().error(std::declval< E >()))) void set_error(S &s
 
requires Enoexcept (noexcept(s.error(std::move(e))))
 
requires requires (std::declval< S & >().value(std::declval< VN && >()...))) void set_value(S &s
 
requires VN &&vn noexcept (noexcept(s.value((VN &&) vn...)))
 
requires requires (std::declval< S & >().starting(std::declval< Up && >()))) void set_starting(S &s
 
requires Up &&up noexcept (noexcept(s.starting((Up &&) up)))
 
requires requires (std::declval< SD & >().executor())) auto executor(SD &sd) noexcept(noexcept(sd.executor()))
 
requires requires (std::declval< SD & >().submit(std::declval< Out >()))) void submit(SD &sd
 
requires Out out noexcept (noexcept(sd.submit(std::move(out))))
 
requires requires (std::declval< SD & >().top())) auto top(SD &sd) noexcept(noexcept(sd.top()))
 
requires requires (std::declval< SD & >().submit(std::declval< TP(&)(TP)>()(top(std::declval< SD & >())), std::declval< Out >()))) void submit(SD &sd
 
requires TP Out out noexcept (noexcept(sd.submit(std::move(tp), std::move(out))))
 
requires requires (std::declval< S & >() ->done())) void set_done(S &s) noexcept(noexcept(s->done()))
 
requires requires (std::declval< S & >() ->error(std::declval< E >()))) void set_error(S &s
 
requires Enoexcept (noexcept(s->error(std::move(e))))
 
requires requires (std::declval< S & >() ->value(std::declval< VN && >()...))) void set_value(S &s
 
requires VN &&vn noexcept (noexcept(s->value((VN &&) vn...)))
 
requires requires (std::declval< S & >() ->starting(std::declval< Up && >()))) void set_starting(S &s
 
requires Up &&up noexcept (noexcept(s->starting((Up &&) up)))
 
requires requires (std::declval< SD & >() ->executor())) auto executor(SD &sd) noexcept(noexcept(sd->executor()))
 
requires requires (std::declval< SD & >() ->submit(std::declval< Out >()))) void submit(SD &sd
 
requires Out out noexcept (noexcept(sd->submit(std::move(out))))
 
requires requires (std::declval< SD & >() ->top())) auto top(SD &sd) noexcept(noexcept(sd->top()))
 
requires requires (std::declval< SD & >() ->submit(std::declval< TP(&)(TP)>()(top(std::declval< SD & >())), std::declval< Out >()))) void submit(SD &sd
 
requires TP Out out noexcept (noexcept(sd->submit(std::move(tp), std::move(out))))
 
requires Invocable< S & > void set_done (S &) noexcept
 
requires Invocable< S & > void set_error (S &, E &&) noexcept
 
requires Invocable< S & > void set_value (S &s) noexcept(noexcept(s()))
 
template<class T >
void set_done (std::promise< T > &) noexcept
 
template<class T >
void set_error (std::promise< T > &p, std::exception_ptr e) noexcept
 
template<class T , class E >
void set_error (std::promise< T > &p, E e) noexcept
 
template<class T >
void set_value (std::promise< T > &p, T t) noexcept(noexcept(p.set_value(std::move(t))))
 
void set_value (std::promise< void > &p) noexcept(noexcept(p.set_value()))
 
requires requires (set_done(std::declval< S & >()))) void set_done(std
 
requires requires (set_error(std::declval< S & >(), std::declval< E >()))) void set_error(std
 
requires requires (set_starting(std::declval< S & >(), std::declval< Up && >()))) void set_starting(std
 
requires requires (executor(std::declval< SD & >()))) auto executor(std
 
requires requires (submit(std::declval< SD & >(), std::declval< Out >()))) void submit(std
 
requires requires (top(std::declval< SD & >()))) auto top(std
 
requires requires (submit(std::declval< SD & >(), std::declval< TP(&)(TP)>()(top(std::declval< SD & >())), std::declval< Out >()))) void submit(std
 

Variables

requires TP tp
 

Function Documentation

requires E e folly::pushmi::__adl::noexcept ( noexcept(s.error(std::move(e)))  )
Examples:
/facebook/proxygen/proxygen/folly/folly/container/Iterator.h, /facebook/proxygen/proxygen/folly/folly/lang/RValueReferenceWrapper.h, and /facebook/proxygen/proxygen/folly/folly/memory/EnableSharedFromThis.h.

Definition at line 40 of file extension_points.h.

References folly::gen::move, folly::pushmi::PUSHMI_TEMPLATE(), requires(), and folly::value().

Referenced by wangle::AcceptorHandshakeManager::AcceptorHandshakeManager(), folly::InlineExecutor::add(), folly::IPAddressV4::AddressStorage::AddressStorage(), Alloc< T >::Alloc(), folly::pushmi::any_flow_receiver< PE, PV, E, VN >::any_flow_receiver(), folly::pushmi::any_receiver< E, folly::pushmi::any_executor_ref< E > >::any_receiver(), folly::BasicFixedString< Char, N >::append(), folly::BasicFixedString< Char, N >::assign(), folly::AtomicLinkedList< T >::AtomicLinkedList(), folly::coro::detail::BlockingWaitPromiseBase::FinalAwaiter::await_resume(), folly::coro::detail::InlineTaskPromiseBase::FinalAwaiter::await_resume(), folly::BasicFixedString< Char, N >::BasicFixedString(), folly::BasicTokenBucket< Clock >::BasicTokenBucket(), folly::coro::detail::BlockingWaitTask< T >::BlockingWaitTask(), folly::exception_wrapper::Buffer::Buffer(), folly::call_once(), proxygen::AsyncTimeoutSet::Callback::Callback(), ConcurrentFlowManySender::cancellation_test(), ConcurrentFlowSingleSender::cancellation_test(), folly::BasicFixedString< Char, N >::cappend(), folly::hazptr_domain< DeterministicAtomic >::cleanup(), folly::IOBuf::cloneOneInto(), folly::NotificationQueue< MessageT >::Consumer::Consumer(), folly::Subprocess::Options::dangerousPostForkPreExecCallback(), proxygen::QPACKCodec::decodeEncoderStream(), QueueTest::destroyCallback(), folly::detail::digits_to(), folly::Try< void >::emplace(), wangle::EvbHandshakeHelper::EvbHandshakeHelper(), folly::EventBaseThread::EventBaseThread(), folly::EventHandler::EventHandler(), proxygen::Exception::Exception(), folly::exception_wrapper::exception_wrapper(), wangle::FilePoller::fileTouchedCond(), wangle::FilePoller::fileTouchedCondInternal(), folly::coro::detail::ViaCoroutine::promise_type::final_suspend(), folly::coro::detail::TaskPromiseBase::final_suspend(), wangle::FizzAcceptorHandshakeHelper::FizzAcceptorHandshakeHelper(), flow_receiver_1_test(), flow_receiver_n_test(), proxygen::HTTPDirectResponseHandler::forceConnectionClose(), proxygen::AsyncTimeoutSet::front(), folly::Future< folly::folly::Unit >::Future(), folly::futures::detail::FutureBase< T >::FutureBase(), folly::Try< folly::folly::Unit >::get(), proxygen::MockHTTPTransactionTransport::getCodec(), proxygen::HTTPSessionAcceptor::getCodecFactory(), proxygen::GzipHeaderCodec::getDecodedSize(), folly::AsyncSignalHandler::getEventBase(), getExceptionStackTraceStack(), folly::AsyncSocket::SendMsgParamsCallback::getFlagsImpl(), proxygen::HTTPSession::getHTTPPriority(), proxygen::MockHTTPTransactionTransport::getLocalAddress(), proxygen::HTTPSession::getMaxConcurrentOutgoingStreamsRemote(), proxygen::HTTPMessageFilter::getNextTransactionHandler(), proxygen::MockHTTPTransactionTransport::getPeerAddress(), folly::AsyncSSLSocket::getSecurityProtocol(), proxygen::MockHTTPTransactionTransport::getSetupTransportInfo(), folly::AsyncSSLSocket::getSSLContext(), fizz::client::AsyncFizzClientT< fizz::client::test::MockClientStateMachineInstance >::getState(), wangle::Acceptor::getTotalNumPendingSSLConns(), folly::AsyncSSLSocket::HandshakeCB::handshakeVer(), proxygen::ParseURL::hostNoBrackets(), folly::exception_wrapper::SharedPtr::Impl< Ex >::Impl(), folly::DelayedDestructionBase::IntrusivePtr< AliasType >::IntrusivePtr(), proxygen::HTTPSession::isConnWindowFull(), folly::HHWheelTimer::isDetachable(), isLowercase(), folly::EventBase::keepAliveRelease(), Watchdog::livingWatchdogCount(), folly::LockedPtr< SynchronizedType, LockPolicy >::LockedPtr(), folly::logDisabledHelper(), folly::LogStreamProcessor::LogStreamProcessor(), wangle::LRUInMemoryCache< K, V, M >::LRUInMemoryCache(), main(), folly::DelayedDestructionBase::IntrusivePtr< AliasType >::make(), folly::futures::detail::Core< T >::make(), ImmediateFlowManySender::make_consumer(), ImmediateFlowSingleSender::make_consumer(), ImmediateFlowSingleSender::make_producer(), ImmediateFlowManySender::make_producer(), folly::makeExpected(), folly::makeGuard(), folly::detail::notification_queue_consumer_wrapper< MessageT, TCallback >::messageAvailable(), proxygen::MockByteEventTracker::MockByteEventTracker(), proxygen::MockHTTPTransactionTransport::MockHTTPTransactionTransport(), proxygen::MockHTTPTransactionTransportCallback::MockHTTPTransactionTransportCallback(), proxygen::MockResponseHandler::MockResponseHandler(), move_test(), folly::AsyncSSLSocket::newSocket(), wangle::SSLSessionPersistentCacheBase< K >::TimeUtil::now(), proxygen::MockHTTPMessageFilter::onBody(), proxygen::MockHTTPMessageFilter::onHeadersComplete(), proxygen::MockHTTPMessageFilter::onTrailers(), ProxyService::ProxyHandler::onUpgrade(), folly::File::operator bool(), folly::pushmi::concepts::detail::And< T, U >::operator bool(), folly::pushmi::concepts::detail::Or< T, U >::operator bool(), folly::pushmi::concepts::detail::Not< T >::operator std::integral_constant< bool, B >(), folly::pushmi::concepts::detail::And< T, U >::operator std::integral_constant< bool, B >(), folly::Range< unsigned char * >::operator Tgt(), folly::pushmi::concepts::detail::And< T, U >::operator!(), folly::pushmi::concepts::detail::Or< T, U >::operator!(), folly::pushmi::concepts::detail::Or< T, U >::operator&&(), std::hash< TestStruct >::operator()(), folly::detail::function::FunctionTraits< ReturnType(Args...) const >::SharedProxy::operator()(), hash< folly::Optional< T > >::operator()(), folly::IOBufCompare::operator()(), folly::detail::emplace_iterator_base< Derived, EmplaceImpl, false >::operator++(), folly::exception_tracer::operator<<(), folly::F14VectorSet< Key, Hasher, KeyEqual, Alloc >::operator=(), folly::F14VectorMap< Key, Mapped, Hasher, KeyEqual, Alloc >::operator=(), folly::detail::emplace_iterator_base< Derived, EmplaceImpl, true >::operator=(), folly::Function< std::vector< ResultT >(std::vector< InputT > &&)>::operator=(), folly::pushmi::concepts::detail::Or< T, U >::operator||(), folly::IOBufQueue::options(), folly::DynamicParser::ParserStack::ParserStack(), proxygen::PassThroughTransportFilter::PassThroughTransportFilter(), folly::poly_empty(), folly::poly_move(), folly::poly_type(), folly::DynamicParser::ParserStack::Pop::Pop(), folly::SaturatingSemaphore< true, Atom >::postFastWaiterMayBlock(), folly::ProcessReturnCode::ProcessReturnCode(), receiver_0_test(), receiver_1_test(), receiver_n_test(), folly::AsyncServerSocket::RemoteAcceptor::RemoteAcceptor(), requires(), folly::rref(), folly::rvalue_reference_wrapper< T >::rvalue_reference_wrapper(), folly::AsyncSocket::scheduleInitialReadWrite(), folly::HHWheelTimer::scheduleTimeoutFn(), folly::detail::ScopeGuardImplBase::ScopeGuardImplBase(), folly::SemiFuture< T >::SemiFuture(), proxygen::MockHTTPTransactionTransport::sendBody(), folly::AsyncUDPSocket::sendmsg(), folly::AsyncSSLSocket::setAsyncOperationFinishCallback(), proxygen::ByteEventTracker::setCallback(), folly::AsyncPipeReader::setCloseCallback(), folly::AsyncSocket::setEvbChangedCallback(), proxygen::HTTPConnector::setHTTPCodecFactory(), wangle::CachePersistence< K, V >::setPersistedVersion(), MockPersistenceLayer::setPersistedVersionConcrete(), proxygen::RequestHandler::setResponseHandler(), proxygen::HTTPSessionBase::setSessionStats(), wangle::LRUPersistentCache< K, V, M >::setSyncOnDestroy(), folly::ThreadedRepeatingFunctionRunner::size(), wangle::SSLAcceptorHandshakeHelper::SSLAcceptorHandshakeHelper(), folly::NotificationQueue< MessageT >::Consumer::startConsumingInternal(), folly::detail::str_to_floating(), folly::detail::str_to_integral(), folly::LogStreamProcessor::stream(), inline_executor_flow_single< CancellationFactory >::submit(), inline_executor_flow_many::submit(), folly::fibers::TaskIterator< T >::TaskIterator(), TEST(), folly::TEST(), TEST_F(), wangle::ThreadSafeSSLSessionCache::ThreadSafeSSLSessionCache(), folly::detail::async_timeout_wrapper< TCallback >::timeoutExpired(), folly::toAppend(), folly::toAppendStrImpl(), folly::IPAddressV4::toBinary(), folly::IPAddressV6::toBinary(), folly::Try< folly::folly::Unit >::Try(), folly::Try< void >::Try(), folly::TimedDrivableExecutor::try_drive_until(), folly::coro::Mutex::try_lock(), folly::TypeError::TypeError(), folly::usingJEMalloc(), folly::Promise< folly::folly::Unit >::valid(), folly::IOBuf::wrapBuffer(), folly::IOBuf::wrapBufferAsValue(), TestAsyncTransport::writesAllowed(), folly::AsyncPipeWriter::writev(), proxygen::compress::CompressionScheme::Ack::~Ack(), folly::exception_wrapper::SharedPtr::Base::~Base(), folly::basic_fbstring< char >::~basic_fbstring(), wangle::BroadcastPool< T, R, P >::BroadcastManager::~BroadcastManager(), proxygen::ByteEventTracker::Callback::~Callback(), proxygen::AckTimeout::Callback::~Callback(), wangle::ClientHelloExtStats::~ClientHelloExtStats(), folly::NotificationQueue< MessageT >::Consumer::~Consumer(), proxygen::Exception::~Exception(), folly::ExecutionObserver::~ExecutionObserver(), folly::ExpectWriteErrorCallback::~ExpectWriteErrorCallback(), wangle::FilePersistenceLayer< K, V >::~FilePersistenceLayer(), proxygen::HPACKCodec::~HPACKCodec(), proxygen::HTTPSessionStats::~HTTPSessionStats(), proxygen::QPACKCodec::~QPACKCodec(), proxygen::RequestHandlerFactory::~RequestHandlerFactory(), proxygen::ResponseHandler::~ResponseHandler(), wangle::ServerPool< std::string >::~ServerPool(), SSLCacheClient::~SSLCacheClient(), wangle::SSLStats::~SSLStats(), folly::TimedDrivableExecutor::~TimedDrivableExecutor(), proxygen::HTTPTransaction::Transport::~Transport(), proxygen::TTLBAStats::~TTLBAStats(), and folly::fibers::Baton::Waiter::~Waiter().

40  {
41  s.error(std::move(e));
42 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
static set< string > s
requires VN&& vn folly::pushmi::__adl::noexcept ( noexcept(s.value((VN &&) vn...))  )

Definition at line 45 of file extension_points.h.

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

45  {
46  s.value((VN&&) vn...);
47 }
static set< string > s
requires Up&& up folly::pushmi::__adl::noexcept ( noexcept(s.starting((Up &&) up))  )

Definition at line 51 of file extension_points.h.

References folly::pushmi::PUSHMI_TEMPLATE().

51  {
52  s.starting((Up&&) up);
53 }
static set< string > s
requires Out out folly::pushmi::__adl::noexcept ( noexcept(sd.submit(std::move(out)))  )

Definition at line 65 of file extension_points.h.

References folly::gen::move, and folly::pushmi::PUSHMI_TEMPLATE().

65  {
66  sd.submit(std::move(out));
67 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
requires TP Out out folly::pushmi::__adl::noexcept ( noexcept(sd.submit(std::move(tp), std::move(out)))  )

Definition at line 82 of file extension_points.h.

References folly::gen::move, and folly::pushmi::PUSHMI_TEMPLATE().

82  {
83  sd.submit(std::move(tp), std::move(out));
84 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
requires E e folly::pushmi::__adl::noexcept ( noexcept(s->error(std::move(e)))  )

Definition at line 97 of file extension_points.h.

References folly::gen::move, folly::pushmi::PUSHMI_TEMPLATE(), requires(), and folly::value().

97  {
98  s->error(std::move(e));
99 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
static set< string > s
requires VN&& vn folly::pushmi::__adl::noexcept ( noexcept(s->value((VN &&) vn...))  )

Definition at line 102 of file extension_points.h.

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

102  {
103  s->value((VN&&) vn...);
104 }
static set< string > s
requires Up&& up folly::pushmi::__adl::noexcept ( noexcept(s->starting((Up &&) up))  )

Definition at line 108 of file extension_points.h.

References folly::pushmi::PUSHMI_TEMPLATE().

108  {
109  s->starting((Up&&) up);
110 }
static set< string > s
requires Out out folly::pushmi::__adl::noexcept ( noexcept(sd->submit(std::move(out)))  )

Definition at line 120 of file extension_points.h.

References folly::gen::move, and folly::pushmi::PUSHMI_TEMPLATE().

120  {
121  sd->submit(std::move(out));
122 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
requires TP Out out folly::pushmi::__adl::noexcept ( noexcept(sd->submit(std::move(tp), std::move(out)))  )

Definition at line 137 of file extension_points.h.

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

137  {
138  sd->submit(std::move(tp), std::move(out));
139 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
requires folly::pushmi::__adl::requires ( std::declval< S & >  ).done()
noexcept

Definition at line 34 of file extension_points.h.

References folly::pushmi::operators::error(), and folly::pushmi::PUSHMI_TEMPLATE().

Referenced by noexcept(), requires(), set_done(), and set_error().

35  {
36  s.done();
37 }
static set< string > s
requires folly::pushmi::__adl::requires ( std::declval< S & >  ).error(std::declval< E >())
requires folly::pushmi::__adl::requires ( std::declval< S & >  ).value(std::declval< VN && >()...)
requires folly::pushmi::__adl::requires ( std::declval< S & >  ).starting(std::declval< Up && >())
requires folly::pushmi::__adl::requires ( std::declval< SD & >  ).executor()
noexcept

Definition at line 56 of file extension_points.h.

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

57  {
58  return sd.executor();
59 }
requires folly::pushmi::__adl::requires ( std::declval< SD & >  ).submit(std::declval< Out >())
requires folly::pushmi::__adl::requires ( std::declval< SD & >  ).top()
noexcept

Definition at line 70 of file extension_points.h.

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

71  {
72  return sd.top();
73 }
requires folly::pushmi::__adl::requires ( std::declval< SD & >  ).submit(std::declval< TP(&)(TP)>()(top(std::declval< SD & >())),std::declval< Out >())
requires folly::pushmi::__adl::requires ( std::declval< S & >  ) ->done()
noexcept

Definition at line 91 of file extension_points.h.

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

92  {
93  s->done();
94 }
static set< string > s
requires folly::pushmi::__adl::requires ( std::declval< S & >  ) ->error(std::declval< E >())
requires folly::pushmi::__adl::requires ( std::declval< S & >  ) ->value(std::declval< VN && >()...)
requires folly::pushmi::__adl::requires ( std::declval< S & >  ) ->starting(std::declval< Up && >())
requires folly::pushmi::__adl::requires ( std::declval< SD & >  ) ->executor()
noexcept

Definition at line 113 of file extension_points.h.

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

114  {
115  return sd->executor();
116 }
requires folly::pushmi::__adl::requires ( std::declval< SD & >  ) ->submit(std::declval< Out >())
requires folly::pushmi::__adl::requires ( std::declval< SD & >  ) ->top()
noexcept

Definition at line 125 of file extension_points.h.

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

126  {
127  return sd->top();
128 }
requires folly::pushmi::__adl::requires ( std::declval< SD & >  ) ->submit(std::declval< TP(&)(TP)>()(top(std::declval< SD & >())),std::declval< Out >())
requires folly::pushmi::__adl::requires ( set_done(std::declval< S & >())  )

Definition at line 190 of file extension_points.h.

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

192  {
193  set_done(s.get());
194 }
void set_done(std::promise< T > &) noexcept
static set< string > s
requires folly::pushmi::__adl::requires ( set_error(std::declval< S & >(), std::declval< E >())  )

Definition at line 196 of file extension_points.h.

References folly::gen::move, noexcept(), folly::pushmi::PUSHMI_TEMPLATE(), requires(), set_error(), and set_value().

197  {
198  set_error(s.get(), std::move(e));
199 }
200 PUSHMI_TEMPLATE (class S, class... VN)
201  (requires requires ( set_value(std::declval<S&>(), std::declval<VN&&>()...) ))
202 void set_value(std::reference_wrapper<S> s, VN&&... vn) noexcept(
203  noexcept(set_value(s.get(), (VN&&) vn...))) {
204  set_value(s.get(), (VN&&) vn...);
205 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
requires requires(submit(std::declval< SD & >(), std::declval< TP(&)(TP)>()(top(std::declval< SD & >())), std::declval< Out >()))) void submit(std
#define PUSHMI_TEMPLATE(...)
Definition: concept_def.h:382
void set_value(std::promise< void > &p) noexcept(noexcept(p.set_value()))
requires TP Out out noexcept(noexcept(sd->submit(std::move(tp), std::move(out))))
void set_error(std::promise< T > &p, E e) noexcept
static set< string > s
requires folly::pushmi::__adl::requires ( set_starting(std::declval< S & >(), std::declval< Up && >())  )

Definition at line 207 of file extension_points.h.

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

209  {
210  set_starting(s.get(), (Up&&) up);
211 }
PUSHMI_INLINE_VAR constexpr __adl::set_starting_fn set_starting
static set< string > s
requires folly::pushmi::__adl::requires ( executor(std::declval< SD & >())  )

Definition at line 213 of file extension_points.h.

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

214  {
215  return executor(sd.get());
216 }
PUSHMI_INLINE_VAR constexpr __adl::get_executor_fn executor
requires folly::pushmi::__adl::requires ( submit(std::declval< SD & >(), std::declval< Out >())  )

Definition at line 218 of file extension_points.h.

References folly::gen::move, folly::pushmi::PUSHMI_TEMPLATE(), and folly::pushmi::submit.

220  {
221  submit(sd.get(), std::move(out));
222 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
requires folly::pushmi::__adl::requires ( top(std::declval< SD & >())  )

Definition at line 225 of file extension_points.h.

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

226  {
227  return top(sd.get());
228 }
PUSHMI_INLINE_VAR constexpr __adl::get_top_fn top
requires folly::pushmi::__adl::requires ( submit(std::declval< SD & >(),std::declval< TP(&)(TP)>()(top(std::declval< SD & >())),std::declval< Out >())  )

Definition at line 230 of file extension_points.h.

References folly::gen::move, and folly::pushmi::submit.

237  {
238  submit(sd.get(), std::move(tp), std::move(out));
239 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
requires Invocable<S&> void folly::pushmi::__adl::set_done ( S )
noexcept

Definition at line 147 of file extension_points.h.

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

Referenced by requires(), and folly::pushmi::__adl::set_done_fn::requires().

147  {
148 }
template<class T >
void folly::pushmi::__adl::set_done ( std::promise< T > &  )
noexcept

Definition at line 167 of file extension_points.h.

167 {}
requires Invocable<S&> void folly::pushmi::__adl::set_error ( S ,
E &&   
)
noexcept
template<class T >
void folly::pushmi::__adl::set_error ( std::promise< T > &  p,
std::exception_ptr  e 
)
noexcept

Definition at line 170 of file extension_points.h.

References folly::gen::move.

170  {
171  p.set_exception(std::move(e));
172 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
template<class T , class E >
void folly::pushmi::__adl::set_error ( std::promise< T > &  p,
E  e 
)
noexcept

Definition at line 174 of file extension_points.h.

References folly::gen::move.

174  {
175  p.set_exception(std::make_exception_ptr(std::move(e)));
176 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
requires Invocable<S&> void folly::pushmi::__adl::set_value ( S s)
noexcept

Definition at line 156 of file extension_points.h.

References s.

Referenced by folly::pushmi::__adl::set_value_fn::noexcept(), and requires().

156  {
157  s();
158 }
static set< string > s
template<class T >
void folly::pushmi::__adl::set_value ( std::promise< T > &  p,
T  t 
)
noexcept

Definition at line 178 of file extension_points.h.

References folly::gen::move, and folly::pushmi::t.

178  {
179  p.set_value(std::move(t));
180 }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
void folly::pushmi::__adl::set_value ( std::promise< void > &  p)
inlinenoexcept

Definition at line 181 of file extension_points.h.

References folly::pushmi::PUSHMI_TEMPLATE().

181  {
182  p.set_value();
183 }

Variable Documentation