[#boost-urls-url_view_base-max_size]
= xref:boost/urls/url_view_base/max_size.adoc[boost::urls::url&lowbar;view&lowbar;base::max&lowbar;size]
:relfileprefix: ../../../
:mrdocs:

Return the maximum number of characters possible

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/url_view_base.hpp#L156[boost&sol;url&sol;url&lowbar;view&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
static
std::size&lowbar;t
max&lowbar;size() noexcept;
----

== Description

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

== Complexity
Constant&period;

== Exception Safety
Throws nothing&period;

== Return Value

The maximum number of characters&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
