preprocessor库是boost大家族的一员,它提供各种宏语言函数,使我们能够更好地使用C/C++的预编译器,包括编译时的计算以及代码的重复生成。
本文主要参考了《C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond》这本书的附录A:An Introduction to Proprocessor Metaprogramming。
本文主要参考了《C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond》这本书的附录A:An Introduction to Proprocessor Metaprogramming。