Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.


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

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):