From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2004-01-22 19:06:47
Jonathan Turkanis wrote:
> "Daniel Wallin" <dalwan01_at_[hidden]> wrote in message
>>>so I don't see the need.
>>Actually we are not really relying on SFINAE at all. I got it
> working on
>>VC7, and likely it won't break on VC6 either.
> Are you sure? I used SFINAE a lot, and that's what it looked like to
> me. If not, I'm embarassed. Why doesn't it work on Codewarrior 8.0?
I assume you are thinking of the:
move_ptr(U&, typename cant_move_from_const<U>::type = 0);
Don't be fooled by the fact that the primary template is incomplete, it
doesn't need to be.
typedef int type;
Will work just as fine. We just need to generate an error whenever U is
Am I missing something?
-- Daniel Wallin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk