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

require_result

A type trait that determines the result type of a require expression.

template<
    typename T,
    typename... Properties>
struct require_result
Types

Name

Description

type

The result of the require expression.

Class template require_result is a trait that determines the result type of the expression boost::asio::require(std::declval<T>(), std::declval<Properties>()...).

Requirements

Header: boost/asio/require.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext