We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 C++14 中,命名空间的嵌套声明需要使用单独的语句,而不能像您提供的头文件中那样直接进行嵌套声明。 即需: namespace wsp::details { xxx } ---更改为--- namespace wsp{ namespace details { xxx } }
The text was updated successfully, but these errors were encountered:
ok,想问一下用的是哪个编译器?
Sorry, something went wrong.
_MSC_VER宏是1935(编译器版本大于等于 MSVC 2015),语言选的是ISO C++14 标准 (/std:c++14)
不过我的__cplusplus宏是199711L(网上说是C++ 98),但我语言选C++17后__cplusplus宏依旧是199711L,但就能正常编译workspace库
ok,已解决
No branches or pull requests
在 C++14 中,命名空间的嵌套声明需要使用单独的语句,而不能像您提供的头文件中那样直接进行嵌套声明。
即需:
namespace wsp::details {
xxx
}
---更改为---
namespace wsp{
namespace details {
xxx
}
}
The text was updated successfully, but these errors were encountered: