:relfileprefix: ../../../
[#boost-urls-decode_view-empty]

= xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/decode_view.adoc[pass:[decode_view]]::empty


Return true if the string is empty


== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/decode_view.hpp#L239[boost/url/decode_view.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
bool
empty() const noexcept;
----

== Description


=== Example
[,cpp]
----
assert( decode_view( "" ).empty() );
----

=== Complexity

Constant.

=== Exception Safety

Throws nothing.








