|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-08-20 21:37:06
Jaakko Jarvi <jajarvi_at_[hidden]> writes:
> 4. Non-SFINAE compilers
>
> Dave has an implementation of enable_if which defaults to being always
> enabled for compilers that do not support SFINAE. We do not think this
> is the right approach, and believe that attemts to use enable_if on a
> compiler that does not support SFINAE, should cause an immediate
> error.
Can you justify that choice a bit? In the applications where I've
used it, no-op behavior provides good gradual degradation in
functionality (I don't have a strong opinion though).
-- 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