摘要:
c++中的constexpr: 1. 编译时确定和运行时确定: 编译时确定如 const int a = 3; 运行时确定如 const int b = func(); 其中a就是编译时确定,b是运行时确定; 但是当func()的函数实现是 func(){return 3;},返回的是一个常量值,这 阅读全文
posted @ 2019-06-01 11:51
QiangAnan
阅读(626)
评论(0)
推荐(0)

浙公网安备 33010602011771号