From: Edward Bishop (dicatna2003_at_[hidden])
Date: 2005-03-20 21:31:53
>>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), ...
> Here's a more robust implementation of the former:
Thanks, that is extremely helpful, especially because
it teaches me more about boost::preprocessor.
All the best,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk