Re: [boost] Range_Ex and Multi-Index: conflicting mpl::begin and boost::begin

________________________________________ De: boost-bounces@lists.boost.org [boost-bounces@lists.boost.org] En nombre de Joaquin M Lopez Munoz [joaquin@tid.es] Enviado el: miércoles, 18 de marzo de 2009 19:49 Para: boost@lists.boost.org Asunto: Re: [boost] Range_Ex and Multi-Index: conflicting mpl::begin and boost::begin
Sandeep Gupta <gupta.sandeep <at> gmail.com> writes:
Thanks for looking into this Vicente. I am not directly adding boost::mpl to the namespace. Please find attached the code. Below is the full error.
[...]
/home/sandeep/Computing/boost_1_38_0/boost/range_ex/./detail/ adl_begin_end.hpp:27: error: in call to ‘begin’ [...]
Adding to my previous post, I found the following in the Boost users list: http://lists.boost.org/boost-users/2006/01/16513.php Seems related, doesn't it? Alas the thread concludes with no satisfactory answer. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

On Wed, Mar 18, 2009 at 12:01 PM, JOAQUIN M. LOPEZ MUÑOZ <joaquin@tid.es> wrote:
________________________________________ De: boost-bounces@lists.boost.org [boost-bounces@lists.boost.org] En nombre de Joaquin M Lopez Munoz [joaquin@tid.es] Enviado el: miércoles, 18 de marzo de 2009 19:49 Para: boost@lists.boost.org Asunto: Re: [boost] Range_Ex and Multi-Index: conflicting mpl::begin and boost::begin
Sandeep Gupta <gupta.sandeep <at> gmail.com> writes:
Thanks for looking into this Vicente. I am not directly adding boost::mpl to the namespace. Please find attached the code. Below is the full error.
[...]
/home/sandeep/Computing/boost_1_38_0/boost/range_ex/./detail/ adl_begin_end.hpp:27: error: in call to ‘begin’ [...]
Adding to my previous post, I found the following in the Boost users list:
http://lists.boost.org/boost-users/2006/01/16513.php
Seems related, doesn't it? Alas the thread concludes with no satisfactory answer.
Hi Joaquín, As I recall, the range_ex was from sandbox. I switched to the newer version, you referred to, which compiles without erro. :-). This issue and the problem raised in http://lists.boost.org/boost-users/2006/01/16513.php are related because they both are ADL-related and arise from the range library. Dave Abrahams commented on this issue in some earlier post which I can't dig it out now. Anyways I am happy to see the problem go away for now. Thanks for helping. -Sandeep
participants (2)
-
JOAQUIN M. LOPEZ MUÑOZ
-
Sandeep Gupta