Return a pointer to the url's character buffer

Synopsis

Declared in header </boost/url/url_view_base.hpp#L219[boost/url/url_view_base.hpp,window=blank_]>

const char*
data() const noexcept;

Description

This function returns a pointer to the first character of the url, which is not guaranteed to be null-terminated.

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

  • ``