MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / rfind

Function rfind

include/win/boost/container/string.hpp:1997–1998  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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 //!

Callers 1

find_last_ofFunction · 0.70

Calls 11

min_valueFunction · 0.85
bind2ndFunction · 0.85
beginFunction · 0.50
find_endClass · 0.50
lengthFunction · 0.50
find_ifClass · 0.50
const_reverse_iteratorFunction · 0.50
rendFunction · 0.50
c_strMethod · 0.45
sizeMethod · 0.45
baseMethod · 0.45

Tested by

no test coverage detected