:relfileprefix: ../../../../
[#boost-urls-grammar-string_view_base-ends_with]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/grammar.adoc[pass:[grammar]]::xref:boost/urls/grammar/string_view_base.adoc[pass:[string_view_base]]::ends_with

  


Return true if a matching suffix exists



=== Synopsis
  

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
bool
xref:boost/urls/grammar/string_view_base/ends_with-0a.adoc[pass:[ends_with]](core::string_view x) const noexcept;
----

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
bool
xref:boost/urls/grammar/string_view_base/ends_with-06.adoc[pass:[ends_with]](char x) const noexcept;
----

[source,cpp,subs="verbatim,macros,-callouts"]
----
constexpr
bool
xref:boost/urls/grammar/string_view_base/ends_with-0c.adoc[pass:[ends_with]](char const* x) const noexcept;
----
  
=== Description


See `core::string_view::ends_with`








