Re: [PATCH] std::quoted is too eager to clear the string

2014-03-31 Thread Jonathan Wakely
On 21/02/14 01:00 +0100, Lars Gullik Bjønnes wrote: * include/std/iomanip (_Quoted_string operator>>): Do not clear string if input is not quoted. Currently the string is cleared regardless of how the string is handled. This patch just moves the clearing down so that we do not clear it if we

Re: [PATCH] std::quoted is too eager to clear the string

2014-02-20 Thread Jonathan Wakely
On 21 February 2014 00:00, Lars Gullik Bjønnes wrote: > > * include/std/iomanip (_Quoted_string operator>>): Do not clear >string if input is not quoted. > > Currently the string is cleared regardless of > how the string is handled. This patch just > moves the clearing down so that we do not c

[PATCH] std::quoted is too eager to clear the string

2014-02-20 Thread Lars Gullik Bjønnes
* include/std/iomanip (_Quoted_string operator>>): Do not clear string if input is not quoted. Currently the string is cleared regardless of how the string is handled. This patch just moves the clearing down so that we do not clear it if we are not going to quote the string (i.e. let operator