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

can_query
Prev Up Home Next

A type trait that determines whether a query expression is well-formed.

template<
    typename T,
    typename Property>
struct can_query :
  public integral_constant< bool, automatically_determined >

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


Prev Up Home Next