Effects : Determines the highest position xpos, if possible, such that both of the following conditions obtain: a) xpos <= pos and xpos + str.size() <= size(); b) traits::eq(at(xpos+I), str.at(I)) for all elements I of the string controlled by str. Throws : Nothing Returns : xpos if the function can determine such a value for xpos. Otherwise, returns npos.
| 1995 | //! |
| 1996 | //! <b>Returns</b>: xpos if the function can determine such a value for xpos. Otherwise, returns npos. |
| 1997 | size_type rfind(const basic_string& str, size_type pos = npos) const |
| 1998 | { return rfind(str.c_str(), pos, str.size()); } |
| 1999 | |
| 2000 | //! <b>Requires</b>: s points to an array of at least n elements of CharT. |
| 2001 | //! |
no test coverage detected