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

2014-06-07 Thread Ed Smith-Rowland
...@verizon.net DR 2344 - std::quoted doesn't respect padding * include/std/iomanip: Allow for padding in quoted inserters. * testsuite/27_io/manipulators/standard/char/dr2344.cc: New. * testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc: New. Index: include

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

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
the padding, which is exactly what you're trying to fix. Sorry for suggesting it. As committed.. I'll backport to 4.9 tomorrow or Sunday. 2014-06-06 Ed Smith-Rowland 3dw...@verizon.net DR 2344 - std::quoted doesn't respect padding * include/std/iomanip: Allow for padding in quoted

Re: std::quoted doesn't respect padding

2014-06-05 Thread Ed Smith-Rowland
Ed Smith-Rowland 3dw...@verizon.net DR 2344 - std::quoted doesn't respect padding * include/std/iomanip: Allow for padding in quoted inserters. * testsuite/27_io/manipulators/standard/char/dr2344.cc: New. * testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc

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)

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