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

This is the documentation for a snapshot of the master branch, built from commit 7789ef3d8d.
PrevUpHomeNext
segments_base::buffer

Return the referenced character buffer.

Synopsis
pct_string_view
buffer() const;
Description

This function returns the character buffer referenced by the view. The returned string may contain percent escapes.

Example
assert( url_view( "/path/to/file.txt" ).segments().buffer() == "/path/to/file.txt" );
Complexity

Constant.

Exception Safety

Throws nothing.


PrevUpHomeNext