boost::urls::url_view_base::data

Return a pointer to the url’s character buffer

Synopsis

Declared in header <boost/url/url_view_base.hpp>

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.