<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55861>55861</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libc++] ostream nullptr inserter missing C++ version guard
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          zhihaoy
      </td>
    </tr>
</table>

<pre>
    https://cplusplus.github.io/LWG/issue2221 is accepted as a C++17 change, but https://github.com/llvm/llvm-project/commit/3c125fe821cc0306dbe9820595a06e8b5e502a2c did not add a version guard. The guard presents in other standard library implementations.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVUE2P3SAM_DXJxWrExyMvOXDobtVeeqzUswNOwopABGSr119fku2q2mMlgwdsjcczRfvQayl7buTnRnytYXZ_5PN0iyvrMXUu1t_vP7_V2-V8kBCCg8uAxtBeyAJWDM-NeKrB72BWDAs14hmmo8BH8r-UJm714f3re_q0p_hCppzz47a5E0jDhZppENwYJllvJxoHwdSokPU0TIoUEygMWGchxAJoqxZ4pZRdDLAcmGwHP1Z6g7AnyhRKBhcglpUS5ILBniXvpoTpAW7bPW21CUulyF1rtbSjHLEtrnjSjXqqreZt1UZ9gZhLItwgHN7vJVXqTKlU6q1a5cLybstHVe2RvP5vYy7zcwVKDT1vV83moR_us7DC9AptP0rCG87WWn4zyvLW40Q-n6obIQL9goui4iq9dVowIVjPJL9LznhnpJxHMnde3bV2ks2N0YbOd6eOLqalTfqSNB1LrkXvcsn_ilgXXgJdJp38eJQ1Jv17dSvGR3uN1pf0P_XNzYQ">