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

PrevUpHomeNext

Struct template directive

boost::parser::directive

Synopsis

// 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;
};

Description

Represents a unparameterized higher-order parser (e.g. omit_parser) as a directive (e.g. omit[other_parser]).

directive public member functions

  1. template<typename Parser2> 
      constexpr auto operator[](parser_interface< Parser2 > rhs) const noexcept;

PrevUpHomeNext