> -----Original Message----- > From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sebor > Sent: Tuesday, July 03, 2007 7:02 AM > To: stdcxx-dev@incubator.apache.org > Subject: Re: 21.string.rfind.cpp test fail reason > > > The test deals with exceptions (the all exceptions are catched). > > I mean that concrete test line not expected any exception > and issues > > rw_error() when length_error() catched. > > I don't see any calls to rw_error() in 21.string.rfind.cpp > but you probably meant rw_assert().
Yes, I mean rw_assert(). Sorry. > rfind() is not required > to and shouldn't throw under any conditions. There's no > efficient way for all the overloads of rfind() to throw > consistently under the same conditions so it should just > return npos instead. We need a Jira issue to track this change. http://issues.apache.org/jira/browse/STDCXX-466 Farid.