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

This is the documentation for a snapshot of the develop branch, built from commit 2daa88693b.
PrevUpHomeNext

Struct separate_directive

boost::parser::separate_directive

Synopsis

// In header: <boost/parser/parser.hpp>


struct separate_directive {

  // public member functions
  template<typename ParserTuple, typename BacktrackingTuple, 
           typename CombiningGroups> 
    constexpr auto 
    operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > >) const noexcept;
};

Description

A directive type that can only be used on sequence parsers, that prevents each of the sequence_parser's subparser's attributes from merging with any other subparser's attribute.

separate_directive public member functions

  1. template<typename ParserTuple, typename BacktrackingTuple, 
             typename CombiningGroups> 
      constexpr auto 
      operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > > rhs) const noexcept;

PrevUpHomeNext