| Home | Libraries | People | FAQ | More

## Global merge

boost::parser::merge

## Synopsis

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

    merge_directive merge;

## Description

The `merge_directive`, whose `operator[]` returns a `parser_interface<P2>`, from a given parser of type `parser_interface<P>`, where `P` is a `seq_parser`. `P2` is the same as `P`, except that its `CombiningGroups` template parameter is replaced with a tag type that causes the subparser's attributes to be merged into a single attribute.