The idea of representing a type as multiple compile-time integers, and passing these integers across function boundaries using sizeof(), was taken from Steve Dewhurst's article "A Bitwise typeof Operator", CUJ 2002. This article can also be viewed online, at http://www.semantics.org/localarchive.html.
Special thank you to Paul Mensonides, Vesa Karvonen, and Aleksey Gurtovoy for the Boost Preprocessor Library and MPL. Without these two libraries, this typeof implementation would not exist.
The following people provided support, gave valuable comments, or in any other way contributed to the library development (in alphabetical order):
|Copyright © 2004, 2005 Arkadiy Vertleyb, Peder Holt|