This looks awesome. I don't have access to clang++ with reflection enabled yet so I can't really play with it. But does it handle correctly structures with padding (i.e. all members trivial but there is padding between members):
struct Data {
char c;
int x;
};
fthiesen•1mo ago
You can play with it, there is a docker container in the repo that you can use for development purposes! (with clang-p2996 branch)
Another option would be to copy some stuff over to the compiler-explorer and use a "single-header" version of the library there. I can facilitate this in case you are interested. They have reflection for EDG, GCC and Clang (I am only working with clang for now)
fthiesen•1mo ago
Do let me know if you have any feedback on the library/code/utilities!
benttoothpaste•1mo ago
fthiesen•1mo ago
Another option would be to copy some stuff over to the compiler-explorer and use a "single-header" version of the library there. I can facilitate this in case you are interested. They have reflection for EDG, GCC and Clang (I am only working with clang for now)
fthiesen•1mo ago