安全的编译期乘法,检查溢出 更多...
#include <static_numeric.hpp>
安全的编译期乘法,检查溢出
在编译期检查乘法是否会导致溢出,如果会溢出则触发静态断言。
在文件 static_numeric.hpp 第 72 行定义.