...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::directive
// In header: <boost/parser/parser.hpp> template<template< class > class Parser> struct directive { // public member functions template<typename Parser2> constexpr auto operator[](parser_interface< Parser2 >) const noexcept; };
Represents a unparameterized higher-order parser (e.g. omit_parser
) as a directive (e.g. omit[other_parser]
).
directive
public member functionstemplate<typename Parser2> constexpr auto operator[](parser_interface< Parser2 > rhs) const noexcept;