Home | Libraries | People | FAQ | More |
A property adapter that is used with the polymorphic executor wrapper to mark properties as preferable, but not requirable.
template< typename Property> struct prefer_only
Name |
Description |
---|---|
The type returned by queries against an any_executor. |
Name |
Description |
---|---|
is_applicable_property_v [static] |
The prefer_only adapter applies to the same types as the nested property. |
is_preferable [static] |
The context_t property can be preferred, it the underlying property can be preferred. |
is_requirable [static] |
The context_t property cannot be required. |
Header: boost/asio/execution/prefer_only.hpp
Convenience header: boost/asio/execution.hpp