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.
--
/kinkie
