Skip to content

Library does not accept my templated member as input for NLOHMANN_DEFINE_TYPE_INTRUSIVE macro #4280

Answered by gregmarr
Luci404 asked this question in Q&A
Discussion options

You must be logged in to vote

That compiles with clang and the latest code just fine. Can you confirm that there isn't something else in the missing code that is causing the error? What compiler are you using? What version of the library?

https://www.godbolt.org/z/6cvTx7j14

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Luci404
Comment options

Answer selected by Luci404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants