$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] [config] BOOST_NO_SFINAE_EXPR and GCC 4.6.4
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2013-08-24 21:00:59
According to this table http://gcc.gnu.org/projects/cxx0x.html, GCC
supports "Solving the SFINAE problem for expressions" since 4.4.
According to Boost.Config, it is since 4.5. The following test case
works fine with 4.8.1, but fails miserably with 4.6.4:
http://ideone.com/RzgXKM
Errors include invalid conversion from X const* to X*, and use of
non-member-ptr in member-ptr expression. GCC 4.7.3 (tested by zao at
#boost) shows similar results: https://www.acc.umu.se/~zao/kbsfinae11.txt
Should BOOST_NO_SFINAE_EXPR be adjusted according to the results of this
test case?
Regards,
-- Agustín K-ballo Bergé.- http://talesofcpp.fusionfenix.com