Boost logo

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
>> [...]
>> 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] *
Boost support, enhancements, training, and commercial distribution

Boost list run by bdawes at, gregod at, cpdaniel at, john at