For forcing exact matches of terminal types. More...
#include <proto_fwd.hpp>
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.