Skip to content

std::String::basic<Char, Traits>::ends_with

ends_with

Checks if string ends with needle

Signature

ends_with(self, const basic& needle) -> bool

Specifiers

  • const
  • noexcept

See Also

Back to basic<Char, Traits>