You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add FORWARD_DECLARATION_NLOHMANN_ENUM into json_fwd.hpp ? Or is there any other simpler way to forward declare those num serialization functions ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When working with json_fwd.h I don't see easy way to forward declare num types serialization.
I had to create 2 macros:
//this one used in header file
//this one used in cpp file together with NLOHMANN_JSON_SERIALIZE_ENUM
Would it be possible to add FORWARD_DECLARATION_NLOHMANN_ENUM into json_fwd.hpp ? Or is there any other simpler way to forward declare those num serialization functions ?
Beta Was this translation helpful? Give feedback.
All reactions