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

For matching terminals that are convertible to a type. More...

#include <proto_fwd.hpp>

Detailed Description

template<typename T>
struct boost::proto::convertible_to< T >

For matching terminals that are convertible to a type.

Use convertible_to<> to match a terminal that is convertible to some type. For example, the grammar terminal<convertible_to<int> > will match any terminal whose argument is convertible to an integer.

Note
The trait is_convertible<> from Boost.Type_traits is used to determinal convertibility.

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