The solution in C++17 is to add the inline keyword in the definition of x : inline X const x;. global constant inline C++.
確定! 回上一頁