commit | a585de645cccf1b8772c7efc8b77b6c1044ffe2c | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Wed Sep 19 19:14:15 2012 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Wed Sep 19 19:14:15 2012 +0000 |
tree | 956a4ba31c7bd4166aefdc5b12e52050c53db342 | |
parent | 7eb9f1e3a305aa0f219d31efb85a59fb9d57001a [diff] |
Overloaded __pad_and_output on ostreambuf_iterator and in this overload call sputn instead of dereferencing the iterator which calls sputc. This is intended to be purely a performance optimization, especially for clients who may have overloaded the virtual function xsputn. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@164241 91177308-0d34-0410-b5e6-96231b3b80d8