Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2021. The current version is 1.89.0.
A type trait that determines whether a prefer expression is
well-formed.
template<
typename T,
typename... Properties>
struct can_prefer
Class template can_prefer is a trait that is derived from true_type
if the expression boost::asio::prefer(std::declval<T>(), std::declval<Properties>()...)
is well formed; otherwise false_type.
Header: boost/asio/prefer.hpp
Convenience header: boost/asio.hpp