|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-12-05 09:09:29
Jaakko Jarvi <jajarvi_at_[hidden]> writes:
> enable_if_lazy.cpp is the only one that uses only
>
> enable_if_c
>
> not
>
> enable_if
>
> at all.
>
> enable_if is defined in terms of enable_if_c (using inheritance)
> and I guess that can cause CW to fail. Writing enable_if as a separate
> template might help.
Not AFAICT; I tried that. Also, the use of enable_if in the iterators
library proves that inheritance doesn't hurt CWPro8. It looks to me
like on CWPro8, SFINAE is only good for eliminating overloads, and
the other uses fail.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk