<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:mclow.lists@gmail.com" title="Marshall Clow (home) <mclow.lists@gmail.com>"> <span class="fn">Marshall Clow (home)</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - basic_ostream::write() does not call basic_streambuf::sputn() if n is zero"
href="https://llvm.org/bugs/show_bug.cgi?id=24437">bug 24437</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>ASSIGNED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - basic_ostream::write() does not call basic_streambuf::sputn() if n is zero"
href="https://llvm.org/bugs/show_bug.cgi?id=24437#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - basic_ostream::write() does not call basic_streambuf::sputn() if n is zero"
href="https://llvm.org/bugs/show_bug.cgi?id=24437">bug 24437</a>
from <span class="vcard"><a class="email" href="mailto:mclow.lists@gmail.com" title="Marshall Clow (home) <mclow.lists@gmail.com>"> <span class="fn">Marshall Clow (home)</span></a>
</span></b>
<pre>The LWG issue was closed as "Not a defect", and the discussion decided that the
standard gives no guarantees about which underlying functions are called, and
when.
In particular, the point was made that there was no requirement to call sputn
from osgtream::write - that repeated calls to sputc would be just as correct.
(though probably not as efficient).
Closing as INVALID.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>