Parse a string and return an encoded segment view.
Defined in header <boost/url/segments_encoded_view.hpp>
result< segments_encoded_view > parse_path_rootless( string_view s);
This function parses the string and returns the corresponding path object if the string is valid, otherwise sets the error and returns an empty range.
path-rootless = segment-nz *( "/" segment ) segment-nz = 1*pchar
No-throw guarantee.
A valid view on success, otherwise an error code.
Name |
Description |
---|---|
|
The string to parse |
parse_path
,
parse_path_abempty
,
parse_path_absolute
,
parse_path_noscheme
.
Convenience header <boost/url.hpp>