Since boost is distributed as source code (and BOOST_TYPEOF available is a header file implementation in any case), you could of course just take a look. It has lots of compiler specific conditional compilation, so the answer is that it is compiler specific.