Hi all,
digging up some documentation for the inconsistent behavior of
std::string::find() in GCC, it appears that its behavior is undefined
if the pos parameter is std::string::npos.
I'd like to define that behavior by making it explicit in the API that
SBuf::find (in any variant) when called with pos=SBuf::npos will
return SBuf::npos. This is consistent with recent gcc, but not with
the current implementation
Any comments?
Thanks.
-- /kinkieReceived on Sun Mar 24 2013 - 16:35:48 MDT
This archive was generated by hypermail 2.2.0 : Wed Mar 27 2013 - 12:00:25 MDT