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

PrevUpHomeNext

Global string_view

boost::parser::string_view

Synopsis

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

constexpr directive< string_view_parser > string_view;

Description

The string_view directive, whose operator[] returns a parser_interface<string_view_parser<P>> from a given parser of type parser_interface<P>. This is only available in C++20 and later.


PrevUpHomeNext