This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: std::quoted doesn't respect padding
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>, libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 6 Jun 2014 15:27:00 +0100
- Subject: Re: std::quoted doesn't respect padding
- Authentication-results: sourceware.org; auth=none
- References: <CAH6eHdR5tfJuyqL24Dfmu=41e5_7fZLhsgxMqBdhgE4wONW8Xw at mail dot gmail dot com> <531F2937 dot 7020106 at verizon dot net> <20140401113329 dot GL13192 at redhat dot com> <53909026 dot 8020305 at verizon dot net> <20140605154832 dot GE31471 at redhat dot com> <5391CB4B dot 8090504 at verizon dot net>
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. Sorry for suggesting it.