[4.9] Re: std::quoted doesn't respect padding - backport from trunk.

2014-06-07 Thread Ed Smith-Rowland
On 06/06/2014 11:41 PM, Ed Smith-Rowland wrote: On 06/06/2014 10:27 AM, Jonathan Wakely wrote: On 06/06/14 10:08 -0400, Ed Smith-Rowland wrote: I'll look at rdbuf. Error in rdbuf? Do I need to do something? No, just me being dumb. The ostream::operator<<(streambuf*) overload behaves as an unf

Re: std::quoted doesn't respect padding

2014-06-06 Thread Ed Smith-Rowland
On 06/06/2014 10:27 AM, Jonathan Wakely wrote: On 06/06/14 10:08 -0400, Ed Smith-Rowland wrote: I'll look at rdbuf. Error in rdbuf? Do I need to do something? No, just me being dumb. The ostream::operator<<(streambuf*) overload behaves as an unformatted output function, so won't obey the paddi

Re: std::quoted doesn't respect padding

2014-06-06 Thread Jonathan Wakely
On 06/06/14 10:08 -0400, Ed Smith-Rowland wrote: I'll look at rdbuf. Error in rdbuf? Do I need to do something? No, just me being dumb. The ostream::operator<<(streambuf*) overload behaves as an unformatted output function, so won't obey the padding, which is exactly what you're trying to fix.

Re: std::quoted doesn't respect padding

2014-06-06 Thread Ed Smith-Rowland
On 06/05/2014 11:48 AM, Jonathan Wakely wrote: On 05/06/14 11:43 -0400, Ed Smith-Rowland wrote: On 04/01/2014 07:33 AM, Jonathan Wakely wrote: [CCing gcc-patches] On 11/03/14 11:18 -0400, Ed Smith-Rowland wrote: On 02/14/2014 07:56 PM, Jonathan Wakely wrote: We need to implement this fix (pr

Re: std::quoted doesn't respect padding

2014-06-05 Thread Jonathan Wakely
On 05/06/14 11:43 -0400, Ed Smith-Rowland wrote: On 04/01/2014 07:33 AM, Jonathan Wakely wrote: [CCing gcc-patches] On 11/03/14 11:18 -0400, Ed Smith-Rowland wrote: On 02/14/2014 07:56 PM, Jonathan Wakely wrote: We need to implement this fix (probably after 4.9 is released though) http://cpl

Re: std::quoted doesn't respect padding

2014-06-05 Thread Ed Smith-Rowland
On 04/01/2014 07:33 AM, Jonathan Wakely wrote: [CCing gcc-patches] On 11/03/14 11:18 -0400, Ed Smith-Rowland wrote: On 02/14/2014 07:56 PM, Jonathan Wakely wrote: We need to implement this fix (probably after 4.9 is released though) http://cplusplus.github.io/LWG/lwg-active.html#2344 Here i

Re: std::quoted doesn't respect padding

2014-04-01 Thread Jonathan Wakely
[CCing gcc-patches] On 11/03/14 11:18 -0400, Ed Smith-Rowland wrote: On 02/14/2014 07:56 PM, Jonathan Wakely wrote: We need to implement this fix (probably after 4.9 is released though) http://cplusplus.github.io/LWG/lwg-active.html#2344 Here is a patch (Stage 1 obviously). A couple of thi