...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return true if a matching suffix exists.
constexpr bool ends_with( char const* x) const;
See string_view::ends_with