That&#x27;s probably a bug in libc++, not Clang.  They&#x27;re under the same roof, but different people work on them.<p>Also, I would mock you for using &lt;iostream&gt; at all but you&#x27;ve probably got legacy code just the same as I do.