[Boost-bugs] [Boost C++ Libraries] #11652: Checking __cpp_lib_integer_sequence

Subject: [Boost-bugs] [Boost C++ Libraries] #11652: Checking __cpp_lib_integer_sequence
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-15 00:04:03


#11652: Checking __cpp_lib_integer_sequence
-------------------------------------------------+-------------------------
 Reporter: Mikhail Strelnikov | Type: Bugs
  <mikhail.strelnikov@…> | Milestone: To Be
   Status: new | Determined
Component: None | Version: Boost
 Severity: Problem | 1.57.0
                                                 | Keywords:
-------------------------------------------------+-------------------------
 In this line (boost/context/detail/config.hpp):

 ! defined(__cpp_lib_integer_sequence) && __cpp_lib_integer_sequence <
 201304

 If __cpp_lib_integer_sequence is not defined, then it is zero and checking
 against 201304 is redundant - 0 is less than 201304.

 If __cpp_lib_integer_sequence is defined, then comparinson with 201304 is
 not evaluated because of short-circuiting.

 I think "! defined(__cpp_lib_integer_sequence)" should be removed.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11652>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC