Re: [PATCH] 21_strings/basic_string/capacity/wchar_t/18654.cc

2015-11-14 Thread Jonathan Wakely
On 14 November 2015 at 00:56, Jonathan Wakely wrote: > On 13 November 2015 at 23:53, David Edelsohn wrote: >> On Fri, Nov 13, 2015 at 1:40 PM, David Edelsohn wrote: >>> http://www.cplusplus.com/reference/string/basic_string/reserve/ >>> >>> "Note that the resulting string capacity may be equal o

Re: [PATCH] 21_strings/basic_string/capacity/wchar_t/18654.cc

2015-11-13 Thread Jonathan Wakely
On 13 November 2015 at 23:53, David Edelsohn wrote: > On Fri, Nov 13, 2015 at 1:40 PM, David Edelsohn wrote: >> http://www.cplusplus.com/reference/string/basic_string/reserve/ >> >> "Note that the resulting string capacity may be equal or greater than n." >> >> The current testcase verifies that

Re: [PATCH] 21_strings/basic_string/capacity/wchar_t/18654.cc

2015-11-13 Thread David Edelsohn
On Fri, Nov 13, 2015 at 1:40 PM, David Edelsohn wrote: > http://www.cplusplus.com/reference/string/basic_string/reserve/ > > "Note that the resulting string capacity may be equal or greater than n." > > The current testcase verifies that the capacity is exactly equal to > the length of the string

[PATCH] 21_strings/basic_string/capacity/wchar_t/18654.cc

2015-11-13 Thread David Edelsohn
http://www.cplusplus.com/reference/string/basic_string/reserve/ "Note that the resulting string capacity may be equal or greater than n." The current testcase verifies that the capacity is exactly equal to the length of the string or reserve value, but the standard allows the capacity to be large