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

Method query

include/boost/asio/execution/any_executor.hpp:1672–1688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1670
1671 template <typename Property>
1672 void query(const Property& p,
1673 enable_if_t<
1674 is_same<
1675 typename find_convertible_property<Property>::query_result_type,
1676 void
1677 >::value
1678 >* = 0) const
1679 {
1680 if (!target_)
1681 {
1682 bad_executor ex;
1683 boost::asio::detail::throw_exception(ex);
1684 }
1685 typedef find_convertible_property<Property> found;
1686 prop_fns_[found::index].query(0, object_fns_->target(*this),
1687 &static_cast<const typename found::type&>(p));
1688 }
1689
1690 template <typename Property>
1691 typename find_convertible_property<Property>::query_result_type

Callers 1

contextMethod · 0.45

Calls 2

throw_exceptionFunction · 0.50
targetMethod · 0.45

Tested by

no test coverage detected