Boost logo

Boost :

From: Andrei Alexandrescu (See Website For Email) (SeeWebsiteForEmail_at_[hidden])
Date: 2005-03-21 17:14:38


Edward Bishop wrote:
>>>
>>> Are you trying to detect 'unsigned char' specifically, or are you
>>> ultimately trying to compare strings of identifiers (keywords are
>>> identifiers here)?
>>
>>
>
> The IS_UNSIGNED_CHAR() macro is meant to be used in another macro:
>
> #define IS_BUILTIN_TYPE(x) BOOST_PP_OR(IS_UNSIGNED_CHAR(x), ...

But wouldn't it be more appropriate to do that at the type level so you
can take into account typedefs?

Andrei


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk