[#boost-urls-ipv6_address-is_loopback]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/ipv6_address.adoc[ipv6&lowbar;address]::is&lowbar;loopback
:relfileprefix: ../../../
:mrdocs:

Return true if the address is a loopback address

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/ipv6_address.hpp#L284[boost&sol;url&sol;ipv6&lowbar;address&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
is&lowbar;loopback() const noexcept;
----

== Description

The unicast address 0&colon;0&colon;0&colon;0&colon;0&colon;0&colon;0&colon;1 is called the loopback address&period; It may be used by a node to send an IPv6 packet to itself&period;

== Specification

* https://datatracker.ietf.org/doc/html/rfc4291#section-2.5.3[2&period;5&period;3&period; The Loopback Address (rfc4291)]

== Return Value

`true` if the address is a loopback address


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