TestCase extends assert, which defines a number of useful static assert {something} (..) methods for checking and logging failures.
TestCase扩展了assert,后者定义了一些有用的static assert {something}(. .)方法,以检查和记录失效。
The general conclusion was that the good of a static assert working at namespace, function, and class scope outweighed the ugliness of a macro.
一般,得到工作于名字空间、函数、类作用域的优秀的静态断言要比多使用一个难看的宏要值得。
应用推荐