Boost C++ Libraries: Ticket #11652: Checking __cpp_lib_integer_sequence https://svn.boost.org/trac10/ticket/11652 <p> In this line (boost/context/detail/config.hpp): </p> <p> ! defined(<span class="underline">cpp_lib_integer_sequence) &amp;&amp; </span>cpp_lib_integer_sequence &lt; 201304 </p> <p> If <span class="underline">cpp_lib_integer_sequence is not defined, then it is zero and checking against 201304 is redundant - 0 is less than 201304. </span></p> <p> If <span class="underline">cpp_lib_integer_sequence is defined, then comparinson with 201304 is not evaluated because of short-circuiting. </span></p> <p> I think "! defined(<span class="underline">cpp_lib_integer_sequence)" should be removed. </span></p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11652 Trac 1.4.3 Mikhail Strelnikov <mikhail.strelnikov@…> Tue, 15 Sep 2015 00:05:17 GMT version, severity changed https://svn.boost.org/trac10/ticket/11652#comment:1 https://svn.boost.org/trac10/ticket/11652#comment:1 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.57.0</span> → <span class="trac-field-new">Boost 1.59.0</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Cosmetic</span> </li> </ul> Ticket Mikhail Strelnikov <mikhail.strelnikov@…> Tue, 15 Sep 2015 00:05:46 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11652#comment:2 https://svn.boost.org/trac10/ticket/11652#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">olli</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">coroutine</span> </li> </ul> Ticket Mikhail Strelnikov <mikhail.strelnikov@…> Tue, 15 Sep 2015 01:37:42 GMT <link>https://svn.boost.org/trac10/ticket/11652#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11652#comment:3</guid> <description> <p> And, btw, this check won't work for clang+libc++ because of this bug <a class="ext-link" href="https://llvm.org/bugs/show_bug.cgi?id=18584"><span class="icon">​</span>https://llvm.org/bugs/show_bug.cgi?id=18584</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>olli</dc:creator> <pubDate>Tue, 26 Jan 2016 17:08:50 GMT</pubDate> <title>status, component changed; resolution set https://svn.boost.org/trac10/ticket/11652#comment:4 https://svn.boost.org/trac10/ticket/11652#comment:4 <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-new">fixed</span> </li> <li><strong>component</strong> <span class="trac-field-old">coroutine</span> → <span class="trac-field-new">context</span> </li> </ul> <p> fixed - in a little bit other way </p> Ticket