| Home | Libraries | People | FAQ | More

## 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>
        auto operator[](parser_interface< Parser2 >) const noexcept;
    };

## Description

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

### `directive` public member functions

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