libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ find_last_not_of() [6/8]

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of ( const _CharT * __s,
size_type __pos = npos ) const
inlinenoexcept

Find last position of a character not in C string.

Parameters
__sC string containing characters to avoid.
__posIndex of character to search back from (default end).
Returns
Index of last occurrence.

Starting from __pos, searches backward for a character not contained in __s within this string. If found, returns the index where it was found. If not found, returns npos.

Definition at line 2866 of file cow_string.h.

2868 {
2871 }
#define __glibcxx_requires_string(_String)
Definition debug.h:81
constexpr size_type find_last_not_of(const basic_string &__str, size_type __pos=npos) const noexcept
Find last position of a character not in string.
Managing sequences of characters and character-like objects.