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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct template transform_directive

boost::parser::transform_directive

Synopsis

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

template<typename F> 
struct transform_directive {

  // public member functions
  template<typename Parser> 
    constexpr auto operator[](parser_interface< Parser >) const noexcept;

  // public data members
  F f_;
};

Description

A directive that transforms the attribute generated by a parser. operator[] returns a parser_interface<transform_parser<Parser, F>>.

transform_directive public member functions

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

PrevUpHomeNext