Return the maximum number of characters possible

Synopsis

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

constexpr
static
size_t
max_size() noexcept;

Description

This represents the largest number of characters that are theoretically possible to represent in a url, not including any null terminator. In practice the actual possible size may be lower than this number.

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

  • size_t