I suspect extensive use of Boost-style template metaprogramming is a great help in making this goal realistic.
If template instantiations use up AST node identifiers (I don't know whether whether they do), I can see scenarios where crazy amplified template instantiation chains can eat substantial chunks of that range.