Boost C++ Libraries: Ticket #11696: variant& operator=(variant&& rhs) never noexcept under clang https://svn.boost.org/trac10/ticket/11696 <p> The noexcept specification for variant's move assignment operator is compiled only conditionally under the following preprocessor switch: </p> <div class="wiki-code"><div class="code"><pre><span class="cp">#if !defined(__GNUC__) || (__GNUC__ != 4) || (__GNUC_MINOR__ &gt; 6)</span> </pre></div></div><p> clang 3.6 defines the gnu macros as if it were gcc 4.2. Therefore the above switch evaluates to false and the noexcept specification is not visible under clang. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11696 Trac 1.4.3 Tobias Reh <treh@…> Wed, 30 Sep 2015 10:52:06 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11696#comment:1 https://svn.boost.org/trac10/ticket/11696#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">ebf</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">variant</span> </li> </ul> Ticket Antony Polukhin Tue, 17 May 2016 18:34:03 GMT owner, status, milestone changed https://svn.boost.org/trac10/ticket/11696#comment:2 https://svn.boost.org/trac10/ticket/11696#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> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.62.0</span> </li> </ul> Ticket Antony Polukhin Tue, 17 May 2016 18:42:19 GMT <link>https://svn.boost.org/trac10/ticket/11696#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11696#comment:3</guid> <description> <p> Fixed in <a class="ext-link" href="https://github.com/apolukhin/variant/commit/5bfb9dbed945cf0dfe34f6225308cb8783136521"><span class="icon">​</span>5bfb9db</a>, will be merged to master branch as soon as all the regression tests pass. </p> <p> Thanks for the report! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Sat, 29 Oct 2016 18:10:03 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11696#comment:4 https://svn.boost.org/trac10/ticket/11696#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> Ticket