...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::xpressive::op::dynamic_cast_ — dynamic_cast_<>
is a PolymorphicFunctionObject for dynamically casting a parameter to a different type.
// In header: <boost/xpressive/regex_actions.hpp> template<typename T> struct dynamic_cast_ { // types typedef T result_type; // public member functions template<typename Value> T operator()(Value const &) const; };