error c2059 syntax error 'constant' enum的相關公司資訊
C++11 - Wikipedia, the free encyclopedia

C++11 - Wikipedia, the free encyclopedia

瀏覽:1031
日期:2024-07-09
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...看更多