There is, or used to be, a '__builtin_classify_type' builtin that might be helpful here. [IMO, though, it'd be just as easy to implement a magic thing just for this purpose, as jsm suggests.] -- - Geoffrey Keating <geoffk@cygnus.com>