Return a pointer to the first character

Synopsis

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

const char*
data() const noexcept;

Description

This function returns a pointer to the beginning of the view, which is not guaranteed to be null-terminated.

Exception Safety

Throws nothing.

Return Value

  • ``