Match a non-empty string of characters from a default-constructible set
<boost/url/grammar/token_rule.hpp>template<CharSet CharSet>
constexpr
/* implementation-defined */
token_rule() noexcept
requires std::is_default_constructible<CharSet>::value;
This overload is only available when CharSet is default constructible.
If there is no more input, the error code error::need_more is returned.
using value_type = core::string_view;
Rules are used with the function parse.
system::result< core::string_view > rv = parse( "abcdef", token_rule<alpha_chars_t>() );
token = 1*( ch )
| Name | Description |
|---|---|
| CharSet | The character set type to use |