Boost C++ Libraries: Ticket #493: format: assert when parsing invalid pattern https://svn.boost.org/trac10/ticket/493 <pre class="wiki">An assert occurs in fmter.parse in the following code: boost::format fmter; fmter.exceptions(boost::io::no_error_bits); fmter.parse("Unknown option mask %1$06x%"); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/493 Trac 1.4.3 Samuel Krempp Thu, 16 Aug 2007 17:56:02 GMT owner, status changed; severity set https://svn.boost.org/trac10/ticket/493#comment:1 https://svn.boost.org/trac10/ticket/493#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">samuel_k</span> to <span class="trac-author">Samuel Krempp</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket Samuel Krempp Thu, 16 Aug 2007 18:50:01 GMT status, resolution changed https://svn.boost.org/trac10/ticket/493#comment:2 https://svn.boost.org/trac10/ticket/493#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> </ul> <p> The exception bitmask set is <strong>no_error</strong>_bits, thus critical errors lead to assertions instead of exceptions. </p> <p> Now, this trailing '%' is not really critical. Thus I changed the code to handle that more quietly. (revision 38730) </p> Ticket René Rivera Sat, 18 Aug 2007 14:35:06 GMT component, description changed https://svn.boost.org/trac10/ticket/493#comment:3 https://svn.boost.org/trac10/ticket/493#comment:3 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">format</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/493?action=diff&amp;version=3">diff</a>) </li> </ul> Ticket