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

For forcing exact matches of terminal types. More...

#include <proto_fwd.hpp>

Detailed Description

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

For forcing exact matches of terminal types.

By default, matching terminals ignores references and cv-qualifiers. For instance, a terminal expression of type terminal<int const &>::type will match the grammar terminal<int>. If that is not desired, you can force an exact match with terminal<exact<int> >. This will only match integer terminals where the terminal is held by value.


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