boost::urls::url_base::capacity :: Boost Libraries Documentation

# boost::urls::url_base::capacity

Return the number of characters that can be stored without reallocating

## Synopsis

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

    std::size_t
    capacity() const noexcept;

## Description

This does not include the null terminator, which is always present.

## Complexity

Constant.

## Exception Safety

Throws nothing.

## Return Value

`*this`

Created with MrDocs