Custom meta<T> without value #1768
SenseOnline
started this conversation in
Ideas
Replies: 2 comments
|
Thanks for bringing this up. It would be nice to be able to specify only the unknown key map and reflect on all the other values automatically. I'll keep this issue alive, but it will probably be some time before it is addressed. |
0 replies
|
I'm moving this to discussions, because I think this issue requires more long term thought, especially as reflection in C++26 is coming. I don't want to overcomplicate the current reflection mechanisms that will need to be replaced. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Thanks for the great library.
It would be nice to be able to do this if it can be supported.
To support having an unknown_reader, unknown_writer and maybe others within the custom meta without having to redefine the entirety of the struct.
This currently produces the following error on Visual Studio 2022 due to concept
detail::global_meta_t<T>evaluating to false:glaze\json\read.hpp(116,33): static_assert failed: 'unknown_read type not handled'All reactions