Boost有一整套测试工具,基本上可以说它们是用于验证表达式的宏。
Boost has a whole host of test tools, which are basically macros used to validate expressions.
如果表达式不是常量,就调用另一个宏函数把值向上取整到2的幂。
Otherwise, if the expression is not a constant, another macro function is called to round up the value to a power of two.
您将学到 Lambda 表达式、递归和宏。
应用推荐