...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A type trait that determines whether a query
expression is well-formed.
template< typename T, typename Property> struct can_query
Class template can_query
is a trait that is derived from true_type
if the expression boost::asio::query(std::declval<T>(),
std::declval<Property>())
is well formed; otherwise false_type
.
Header: boost/asio/query.hpp
Convenience header: boost/asio.hpp