Boost logo

Boost :

Subject: Re: [boost] is_range metafunction
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2008-10-07 15:05:01


Mathias Gaunard wrote:

> Daniel Walker wrote:
>> So, I tried your suggestion with gcc 4.4, but I got an error.
>
> Well, to be honest I didn't test it fully. If you call it with a type
> that doesn't have a foo member function, the overload is indeed masked.
> I don't know why it doesn't work when using &&, must be a bug.
>
> Of course, the fact that it produces ICE shows it's a bug in itself. I
> don't really know what really works and what doesn't atm.
> The first example of this link, however, seems to work:
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2634.html
>
> I am fairly disappointed to see it actually doesn't work :(. Hopefully
> it will be fixed before the 4.4 release.
>
I hope someone files a bug report :)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk