![]() |
Home | Libraries | People | FAQ | More |
boost::parser::replace_view
// In header: <boost/parser/replace.hpp> template< V, ReplacementV, typename Parser, typename GlobalState, typename ErrorHandler, typename SkipParser> struct replace_view { // member classes/structs/unions template< Const> struct iterator { // types typedef ; typedef ; typedef ; typedef ; typedef ; // public member functions () = ; (); constexpr iterator & (); constexpr () ; }; template< Const> struct sentinel { }; // public member functions () = ; (, parser_interface< Parser, GlobalState, ErrorHandler > const &, parser_interface< SkipParser > const &, , = ); (, parser_interface< Parser, GlobalState, ErrorHandler > const &, , = ); constexpr () ; constexpr (); constexpr () ; constexpr (); constexpr auto (); constexpr auto (); constexpr auto () ; constexpr auto () ; };
Produces a range of subranges of a given range base
. Each subrange is either a subrange of base
that does not match the given parser parser
, or is the given replacement for a match, replacement
.
In addition to the template parameter constraints, V
and ReplacementV
must be ranges of char
, or must have the same UTF format, and V
and ReplacementV
must meet the same compatibility requirements as described in std::ranges::join_view
.
replace_view
public member functions() = ;
( base, parser_interface< Parser, GlobalState, ErrorHandler > const & parser, parser_interface< SkipParser > const & skip, replacement, trace_mode = );
( base, parser_interface< Parser, GlobalState, ErrorHandler > const & parser, replacement, trace_mode = );
constexpr () ;
constexpr ();
constexpr () ;
constexpr ();
constexpr auto ();
constexpr auto ();
constexpr auto () ;
constexpr auto () ;