rttr icon indicating copy to clipboard operation
rttr copied to clipboard

C++ Reflection Library

Results 139 rttr issues
Sort by recently updated
recently updated
newest added

When vs2015 is used to compile the library, an error will be reported: vs2015\VC\include\bitset(101): error C2666: “operator /”: 11 overloads have similar conversions

``` auto type = rttr::type::get(); bool result = (type.create().get_type() == type); ``` result is false ?

![image](https://user-images.githubusercontent.com/4441192/146463422-3d39a73b-b5f0-499d-bd2b-5a0f7d1c5055.png)

# Environment Apple silicon, MacBook Pro 2021, macOS 12.0.1 Compiler: gcc-11 (using C++: 17) cmake: 3.22.1 # Error Msg `[ 39%] Building CXX object src/unit_tests/CMakeFiles/unit_tests.dir/property/property_access_level_test.cpp.o /var/folders/cm/lt50_tv535vdnr7hsz326sph0000gn/T//ccOYq9Ev.s:111969:2: error: unrecognized instruction mnemonic,...

I want to use RTTR to get a unique ID for a type (class), serialize it, deserialize it, and then instantiate that class (on a different machine, over the network)....

`custom_name_to_id` was being used in thread-unsafe way by `type::get_by_name`. Fixed that.

Is it possible to define a class and RTTR Registration within a static library and use within another library? RTTR_PLUGIN_REGISTRATION seems to only be for dynamic libraries?

struct circle : shape { circle(std::string n) : shape(n) {} double radius = 5.2; //std::vector points; std::vector points; } If the std::vector points type becomes a pointer std::vector points, deserialization...

I've been going over the documentation and I don't see if there's a way to do what the title says. This is roughly the C++ code of what I'm trying...