[foreach] [Revision 1.27] tiny problem under eVC4 (and maybe VC6)

Hi, Under eVC++4, foreach_detail_::is_array/is_const causes name conflict with boost::is_array/is_const. (I don't know why.) I hear VC++6 has the same compiler as eVC++4. I renamed them to 'is_array_' and 'is_const_', then it works fine. Regards, MB p-stade.sourceforge.net

MB wrote:
Hi,
Under eVC++4, foreach_detail_::is_array/is_const causes name conflict with boost::is_array/is_const. (I don't know why.) I hear VC++6 has the same compiler as eVC++4. I renamed them to 'is_array_' and 'is_const_', then it works fine.
Thanks for the report. I'll fix it today. -- Eric Niebler Boost Consulting www.boost-consulting.com

Eric Niebler wrote:
MB wrote:
Hi,
Under eVC++4, foreach_detail_::is_array/is_const causes name conflict with boost::is_array/is_const. (I don't know why.) I hear VC++6 has the same compiler as eVC++4. I renamed them to 'is_array_' and 'is_const_', then it works fine.
Thanks for the report. I'll fix it today.
Fixed. Excellent. BTW, Boost.Range customization way has been changed, but document of Boost.Foreach at Vault is out of date. I hear such customization way was rejected because of dangerous order-dependency. And I recall Boost.Range provides (in secret) the way for broken compilers only if a range type is not a template, but the way is undocumented and farely different. Regards, MB p-stade.sourceforge.net
participants (2)
-
Eric Niebler
-
MB