boost::urls::url_view_base::data :: Boost Libraries Documentation

# boost::urls::url_view_base::data

Return a pointer to the url's character buffer

## Synopsis

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

    char const*
    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

A pointer to the first character.

Created with MrDocs