C++11 - Wikipedia, the free encyclopedia

C++11 - Wikipedia, the free encyclopedia

瀏覽:840
日期:2024-04-24
This was not legal in C++03, because get_five() + 7 is not a constant expression. A C++03 compiler has no way of knowing if get_five() actually is constant at runtime. In theory, this function could affect a global variable, call other non-runtime constan...看更多