> -----Original Message----- > From: Martin Sebor [mailto:[EMAIL PROTECTED] > Sent: Monday, November 19, 2007 8:11 PM > To: stdcxx-dev@incubator.apache.org > Subject: Re: 21.string.cons.cpp test fails on 64-bit MSVC > (8.0 and 9.0) > > > Yes, I've tried it and after applying this patch the problem was > > resolved (actually invoking __rw_new_capacity(0) was optimized to > > "return _RWSTD_MINIMUM_STRING_CAPACITY;"). > > Great. Now if you could figure out a way to optimize the > integer expression to avoid all the divisions... :)
How about this one? https://issues.apache.org/jira/secure/attachment/12369790/new_capacity.p atch Farid.