
20 Dec
2010
20 Dec
'10
8:53 a.m.
On 17.12.2010 23:20, Michel MORIN wrote:
These errors can be resolved by fixing boost/range/begin.hpp. The fix uses a using-declaration ("using std::begin;") and SFINAE (disable_if with "has_begin" metafunction). A summary of range-based-for-compatible<boost/range/begin.hpp> is the following:
Hi, Again I assert that range-based for has nothing to do with this. It's std::begin() and std::end() that are the problem. I suggest you rename the feature macro to BOOST_NO_STD_BEGIN_END and put it in the standard library part of the configuration (boost/config/stdlib). Aside from that, very good and important work. Sebastian