![]() |
Home | Libraries | People | FAQ | More |
Conversion.
operator segments_view() const;
This conversion returns a new view which references the same underlying character buffer, and whose iterators and members return ordinary strings with decoding applied to any percent escapes. Ownership is not transferred; the caller is responsible for ensuring the lifetime of the buffer extends until it is no longer referenced.
segments_view ps = [link url.ref.boost__urls__segments_encoded_view.parse_path `parse_path`]( "/path/to/file.txt" ).value();
segments_view( *this ).buffer().data() == this->[link url.ref.boost__urls__segments_encoded_view.buffer `buffer`]().[link url.ref.boost__urls__pct_string_view.data `data`]()
Constant
Throws nothing