
On 25/08/13 03:00, Agustín K-ballo Bergé wrote:
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?
I believe there were too many bugs with this feature with 4.4 to actually use it reliably. Restricting to 4.8.1 would certainly be a bit annoying, are the bugs that major?