rttr
rttr copied to clipboard
C++ Reflection Library
Hi, I'm trying to modify the data returned by variant_associative_view::find but I can't because `find` only returns a const_iterator. Example: ```cpp std::string key = "dataset1"; std::unordered_map lookup; lookup[key].assign(100000, 0); //...
Hi, I was creating my own runtime reflection system but failed to do so, so I went looking for how other libraries do it, and I found your library. In...
In the library_win.cpp file there is an error. The line that is problematic is: `prefix_list.insert(suffix_list.begin(), std::wstring());` It should be `prefix_list.insert(prefix_listbegin(), std::wstring());` The wrong iterator is given to the insert method...
Lets say we need the "tree" of inheritance to display in a gui or generate wrappers (non cpp) mirroring a class hierarchy get_base_classes() returns ALL classes, as does get_derived_classes() is_base_of()...
Binding C++ and JavaScript — WebIDL Binder and Embind https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#binding-c-and-javascript-webidl-binder-and-embind ``` // quick_example.cpp #include using namespace emscripten; float lerp(float a, float b, float t) { return (1 - t) *...
This happens when building: ``` [ 64s] /home/abuild/rpmbuild/BUILD/rttr-0.9.6/src/examples/json_serialization/from_json.cpp:242:36: required from here [ 64s] /home/abuild/rpmbuild/BUILD/rttr-0.9.6/3rd_party/rapidjson-1.1.0/rapidjson/document.h:1966:24: error: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue::Member' {aka 'struct rapidjson::GenericMember'}...
ITNOA I think it is very good to have a cmake option that can be set to does not change CMAKE_INSTALL_PREFIX to `"${PROJECT_BINARY_DIR}/install"`, because I think CMAKE default install prefix...
In UWP we have not LoadLibraryW and … and it cause to does no build and does not work this library in UWP platform, so I think it is good...
ITNOA When I want to use RTTR library with vcpkg in visual studio I see below error ``` C:\Users\sooro\Documents\vcpkg\installed\x64-windows\include\rttr/detail/variant/variant_data_converter.h(1118): error C2589: '(': illegal token on right side of '::' [C:\Users\sooro\Documents\Visual...
rttr::argument gets "data" dynamic type (instead of its static type)