...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::parser::transform_directive
// In header: <boost/parser/parser.hpp> template<typename F> struct transform_directive { // public member functions template<typename Parser> constexpr auto operator[](parser_interface< Parser >) const noexcept; // public data members F f_; };
A directive that transforms the attribute generated by a parser. operator[]
returns a parser_interface<transform_parser<Parser, F>>
.
transform_directive
public member functionstemplate<typename Parser> constexpr auto operator[](parser_interface< Parser > rhs) const noexcept;