|
Boost : |
Subject: Re: [boost] is_range metafunction
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2008-10-07 14:30:53
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk