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
#include #include "nameof.hpp"
enum class TestEnum { kBase = 10000, kFirst, kSecond, kEnd = 19999 };
int main() { auto str = nameof::nameof_enum(TestEnum::kBase);
return 0; }
1>enum.cpp 1>D:\Conan\ConanPath.conan\data\nameof\0.10.4__\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\nameof.hpp(1056,36): error C2338: nameof::nameof_enum requires enum implementation and valid max and min. 1>D:\Code\TestCode\test\enum.cpp(7): message : 查看对正在编译的函数 模板 实例化“std::basic_string_view<char,std::char_traits> nameof::nameof_enum(E) noexcept”的引用 1> with 1> [ 1> E=TestEnum 1> ] 1>已完成生成项目“test.vcxproj”的操作 - 失败。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
#include
#include "nameof.hpp"
enum class TestEnum { kBase = 10000, kFirst, kSecond, kEnd = 19999 };
int main() {
auto str = nameof::nameof_enum(TestEnum::kBase);
return 0;
}
1>enum.cpp
1>D:\Conan\ConanPath.conan\data\nameof\0.10.4__\package\5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9\include\nameof.hpp(1056,36): error C2338: nameof::nameof_enum requires enum implementation and valid max and min.
1>D:\Code\TestCode\test\enum.cpp(7): message : 查看对正在编译的函数 模板 实例化“std::basic_string_view<char,std::char_traits> nameof::nameof_enum(E) noexcept”的引用
1> with
1> [
1> E=TestEnum
1> ]
1>已完成生成项目“test.vcxproj”的操作 - 失败。
The text was updated successfully, but these errors were encountered: