Re: [Boost-bugs] [Boost C++ Libraries] #13012: boost::has_equal_to fails with captureless lambda expression types

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13012: boost::has_equal_to fails with captureless lambda expression types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-02-20 08:57:29


#13012: boost::has_equal_to fails with captureless lambda expression types
------------------------------------+--------------------------
  Reporter: Joaquín M López Muñoz | Owner: John Maddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: type_traits
   Version: Boost 1.63.0 | Severity: Problem
Resolution: fixed | Keywords:
------------------------------------+--------------------------

Comment (by Joaquín M López Muñoz):

 Hi,

 I see that `boost::type_traits_detail::is_likely_stateless_lambda`
 defaults out for MSVC at

 https://github.com/boostorg/type_traits/blob/5240cd67d895dd811ca708eb5faa835de73f25b8/include/boost/type_traits/detail/is_likely_lambda.hpp#L30

 but my local tests seem to show the lambda detection machinery indeed
 works for MSVC 14.0 --don't know about 12.0. Would it be possible to relax
 the aforementioned line so that MSVC >=14.0 is accepted?

 Thank you

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13012#comment:9>
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 : 2018-02-20 09:02:06 UTC