MCPcopy Create free account
hub / github.com/boostorg/asio / as_default_on

Function as_default_on

include/boost/asio/as_tuple.hpp:97–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 /// default completion token type.
96 template <typename T>
97 static typename decay_t<T>::template rebind_executor<
98 executor_with_default<typename decay_t<T>::executor_type>
99 >::other
100 as_default_on(T&& object)
101 {
102 return typename decay_t<T>::template rebind_executor<
103 executor_with_default<typename decay_t<T>::executor_type>
104 >::other(static_cast<T&&>(object));
105 }
106
107//private:
108 CompletionToken token_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected