Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2014. The current version is 1.89.0.
boost::proto::convertible_to — For matching terminals that are convertible to a type.
// In header: <boost/proto/matches.hpp> template<typename T> struct convertible_to { };
Use proto::convertible_to<> to match a terminal that is
convertible to some type. For example, the grammar
proto::terminal<proto::convertible_to<int> >
will match any terminal whose argument is convertible to an integer.