<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:antoshkka@gmail.com" title="Antony Polukhin <antoshkka@gmail.com>"> <span class="fn">Antony Polukhin</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Incorrect handling of out of bounds and strings starting from 0x"
   href="http://llvm.org/bugs/show_bug.cgi?id=15723">bug 15723</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>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>INVALID
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Incorrect handling of out of bounds and strings starting from 0x"
   href="http://llvm.org/bugs/show_bug.cgi?id=15723#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Incorrect handling of out of bounds and strings starting from 0x"
   href="http://llvm.org/bugs/show_bug.cgi?id=15723">bug 15723</a>
              from <span class="vcard"><a class="email" href="mailto:antoshkka@gmail.com" title="Antony Polukhin <antoshkka@gmail.com>"> <span class="fn">Antony Polukhin</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=15723#c5">comment #5</a>)
<span class="quote">> Yes, tests 4-7 fail.  In each case a value of inf is successfully read into
> ld.</span >

Other STL implementations in that case report failure via returning true in
ss.fail().

And it is required by C++11 (22.4.2.1.2, step 3):
The numeric value to be stored can be one of:
...
— the most positive representable value, if the field represents a value too
large positive to be
represented in val. ios_base::failbit is assigned to err.
...</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>