Repository navigation
Replies: 1 comment 1 reply
|
Good news: this has since been implemented. include/nlohmann/detail/macro_scope.hpp now defines This reply was drafted by Claude Code on behalf of @nlohmann, as part of a review of open discussions. |
1 reply
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.
Would it be possible to provide macros like NLOHMANN_DEFINE_TYPE_INTRUSIVE that account for inheritance?
Can this mechanism be wrapped into something like
NLOHMANN_DEFINE_DERIVED_TYPE_INTRUSIVE(derived, base, field1, field2)?
All reactions