:relfileprefix: ../../../ [#483E0AA5F0ED813847724A7873C34F81724A3649] = Function decode_view::ends_with pass:v,q[Checks if the string ends with the given prefix] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- bool ends_with(string_view s) const noexcept; ---- == Description === Example [,cpp] ---- assert( decode_view( "Program%20Files" ).ends_with("Files") ); ---- === Complexity pass:v,q[Linear.] === Exception Safety pass:v,q[Throws nothing.] == Return Value * `bool` == Parameters |=== | Name | Type | *s* | `string_view` |===