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 the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

can_query

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.

Requirements

Header: boost/asio/query.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext