Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] POD expression can't be used in std::vector
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2008-11-23 18:22:05


Eric Niebler a écrit :
>
> Thanks Hartmut. I checked the standard, and this appears to be correct
> behavior. That means that gcc's ADL is overeager. I've filed the bug
> here:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38242
>
FYI, ICC 11 Linux report same behavior

Well, now another bugs of mine makes more sense. I had a similar
overeager ADL using mpl types as template parameters.
When I added a size function, compiler get confused between my size and
mpl::size.

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net