Boost.URL

    • Quick Look
    • URLs
      • Parsing
      • Containers
      • Segments
      • Params
      • Normalization
      • String Token
      • Percent Encoding
      • Formatting
    • Customization
      • Parse Rules
      • Character Sets
      • Compound Rules
      • Ranges
      • RFC 3986
    • Examples
      • QR Code
      • Finicky
      • mailto URLs
      • Magnet Link
      • File Router
      • Router
      • Sanitizing URLs
    • Reference
      • Concepts
        • CharSet
        • Rule
        • StringToken
      • Help Card
  • boost::urls::segments_base::buffer

boost::urls::segments_base::buffer

Return the referenced character buffer.

Synopsis

Declared in <include/boost/url/segments_base.hpp>

pct_string_view
buffer() const noexcept;

Description

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

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

Constant.

Throws nothing.

Created with MrDocs