|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-12-05 14:06:00
"David B. Held" <dheld_at_[hidden]> writes:
> "David Abrahams" <dave_at_[hidden]> wrote in message
> news:uheds2uir.fsf_at_boost-consulting.com...
>> [...]
>> I don't know... well, it could detect whether there was a ::type
>> member,
>> [...]
>
> Really??? Is it possible to detect the presence of a typedef without
> generating an error? How do you do this? I think this is a very useful
> feature!
On many compilers, yes. See mpl/aux_/has_xxx.hpp
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk