Boost C++ Libraries: Ticket #8717: Please make the library work on exception-disabled environments https://svn.boost.org/trac10/ticket/8717 <p> Please make boost::variant work on exception-disabled environments. </p> <p> The problem is that boost::variant uses raw 'throw' and 'try/catch' keywords which make using the library on exception-disabled environments impossible. </p> <p> The attached patch for v1.53.0 switches to boost::throw_exception() and Boost's macros for try / rethrow / catch. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8717 Trac 1.4.3 Adam Romanek <romanek.adam@…> Thu, 20 Jun 2013 12:42:50 GMT attachment set https://svn.boost.org/trac10/ticket/8717 https://svn.boost.org/trac10/ticket/8717 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_variant.patch</span> </li> </ul> Ticket Antony Polukhin Fri, 12 Jul 2013 13:20:46 GMT cc set https://svn.boost.org/trac10/ticket/8717#comment:1 https://svn.boost.org/trac10/ticket/8717#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">antoshkka@…</span> added </li> </ul> Ticket Antony Polukhin Fri, 19 Jul 2013 07:53:44 GMT owner, status changed https://svn.boost.org/trac10/ticket/8717#comment:2 https://svn.boost.org/trac10/ticket/8717#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">ebf</span> to <span class="trac-author">Antony Polukhin</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Antony Polukhin Fri, 19 Jul 2013 11:40:07 GMT <link>https://svn.boost.org/trac10/ticket/8717#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8717#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85081" title="Make Boost.Variant work on exception-disabled environments (refs #8717)">[85081]</a>) Make Boost.Variant work on exception-disabled environments (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8717" title="#8717: Bugs: Please make the library work on exception-disabled environments (closed: fixed)">#8717</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Thu, 25 Jul 2013 08:42:46 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8717#comment:4 https://svn.boost.org/trac10/ticket/8717#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85157" title="Merge from trunk: * make the library work on exception-disabled ...">[85157]</a>) Merge from trunk: </p> <ul><li>make the library work on exception-disabled environments (fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8717" title="#8717: Bugs: Please make the library work on exception-disabled environments (closed: fixed)">#8717</a>) </li><li>fix compilation of Boost.Variants move assignment for situations when one of the variant template classes has nothrow copy constructor and throwing move constructor (fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8772" title="#8772: Bugs: boost.variant broken in combination with g++ 4.6.x series and C++0x (closed: fixed)">#8772</a>) </li><li>mark move constructor of variant with BOOST_NOEXCEPT_IF (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7911" title="#7911: Feature Requests: Mark move constructors and move assignments of varint with ... (closed: fixed)">#7911</a>) </li></ul> Ticket Antony Polukhin Thu, 25 Jul 2013 13:21:24 GMT milestone changed https://svn.boost.org/trac10/ticket/8717#comment:5 https://svn.boost.org/trac10/ticket/8717#comment:5 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.55.0</span> </li> </ul> Ticket