Boost C++ Libraries Home Libraries People FAQ More

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