
21 Mar
2005
21 Mar
'05
10:14 p.m.
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