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 <rttr/registration> struct MyStruct { MyStruct() {}; int data[3]; }; RTTR_REGISTRATION { using namespace rttr; registration::class_<MyStruct>("MyStruct") .constructor<>() .property("data", &MyStruct::data); } int main() { return 0; }
Compile error: error C2668: 'operator new[]': ambiguous call to overloaded function
The text was updated successfully, but these errors were encountered:
For one thing, your MyStruct needs RTTR_ENABLE(); in the declaration:
MyStruct
RTTR_ENABLE();
struct MyStruct { MyStruct() {} int data[3]; RTTR_ENABLE(); };
Sorry, something went wrong.
Fix error C2668: 'operator new[]': ambiguous call to overloaded function
b48341b
See rttrorg#346 Note that `std::is_bounded_array` is introduced in C++20.
No branches or pull requests
Compile error: error C2668: 'operator new[]': ambiguous call to overloaded function
The text was updated successfully, but these errors were encountered: