VS2010的C++编译器现在支持lambda表达式、右值引用(rvaluereferences)、编译时断言(compile-timeassertions)、表达式类型发现(expressiontypediscovery)和C++0X标准的自动类型deduction。
基于20个网页-相关网页
编译时断言
Compile-time assertion
以上为机器翻译结果,长、整句建议使用 人工翻译 。
一定要记住,在使用静态断言时,检查的表达式在编译时必须是可计算的。
While using static assertions, always remember that the expression being checked must be evaluable at compile time.
youdao
应用推荐
模块上移
模块下移
不移动