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

A Boolean metafunction that indicates whether a given type T is a Proto expression type. More...

#include <traits.hpp>

Inheritance diagram for boost::proto::is_expr< T, Void >:
Collaboration diagram for boost::proto::is_expr< T, Void >:

Detailed Description

template<typename T, typename Void>
struct boost::proto::is_expr< T, Void >

A Boolean metafunction that indicates whether a given type T is a Proto expression type.

If T has a nested type proto_is_expr_ that is a typedef for void, is_expr<T>value is true. (Note, this is the case for proto::expr<>, any type that is derived from proto::extends<> or that uses the BOOST_PROTO_BASIC_EXTENDS() macro.) Otherwise, is_expr<T>value is false.


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