Re: [Boost-bugs] [Boost C++ Libraries] #11897: Compile failure in type_traits_detail::mp_valid_impl with CUDA 7.0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11897: Compile failure in type_traits_detail::mp_valid_impl with CUDA 7.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-11 12:38:28


#11897: Compile failure in type_traits_detail::mp_valid_impl with CUDA 7.0
-------------------------------+-------------------------
  Reporter: a.grund@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: type_traits
   Version: Boost 1.60.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+-------------------------

Comment (by Alex Grund <a.grund@…>):

 I was proposing to disable this as this is 1 case where variadic templates
 fail in NVCC 7.0 so I would not rely on its correctness and avoid it.

 The proposed patch of yours does not work for 2 reasons:
 1) You forgot one #if on line 89
 2) The symbol is undefined in 7.0 and prior. Due to the check in
 BOOST_WORKAROUND for the existance and !=0 of the symbol it will always
 yield false. I don't see a good way to use that macro here. Using the
 plain defined(...) or ...>=70500 works.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11897#comment:4>
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