Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::result_of::extract_or_throw< T, TagT > Struct Template Reference

A metafunction that allows to acquire the result of the value extraction. More...

#include <value_extraction_fwd.hpp>

Public Types

typedef mpl::if_
< mpl::is_sequence< T >
, value_ref< T, TagT >, T
const & >::type 
type
 

Detailed Description

template<typename T, typename TagT>
struct boost::result_of::extract_or_throw< T, TagT >

A metafunction that allows to acquire the result of the value extraction.

The metafunction results in a type that is in form of T const&, if T is not an MPL type sequence, or value_ref< T, TagT > otherwise. In the latter case the value reference shall never be empty.

Member Typedef Documentation

template<typename T , typename TagT >
typedef mpl::if_< mpl::is_sequence< T >, value_ref< T, TagT >, T const& >::type boost::result_of::extract_or_throw< T, TagT >::type

The documentation for this struct was generated from the following file: