#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;
}
complied error: error C2668: 'operator new[]': ambiguous call to overloaded function
Aucun commentaire:
Enregistrer un commentaire