constexpr和const的又一区别
constexpr int* p = nullptr;//常量指针,指针不能动,相当于int* const p = nullptr的意思
const int* p = nullptr;//指向常量
两个的含义事不同的constexpr只能修饰指针,const可以透过解地址符号指向常量
constexpr int* p = nullptr;//常量指针,指针不能动,相当于int* const p = nullptr的意思
const int* p = nullptr;//指向常量
两个的含义事不同的constexpr只能修饰指针,const可以透过解地址符号指向常量