c++ 11新特性学习1

static_assert 静态断言,特点是编译期的断言检查

assert 运行时期的断言检查

二者参数用法相同

原文地址:https://www.cnblogs.com/zendu/p/11921092.html