|
Boost : |
From: Eric Friedman (ebf_at_[hidden])
Date: 2003-12-05 04:03:57
Jaako, Jeremiah,
Can we add conditional preprocessor guards around the contents of the
enable_if.hpp header so that the templates are only defined on
supporting compilers?
Particularly troubling is that inclusion on compilers without template
partial specialization results in parsing errors -- that is, even if
enable_if is never used.
Another option: provide dummy declarations that always fail on
unsupported platforms.
Thanks,
Eric
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk