@@ -2775,6 +2775,7 @@ JSON_HEDLEY_DIAGNOSTIC_POP
2775
2775
/*!
2776
2776
@brief macro
2777
2777
@def NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT
2778
+ @since version 3.11.0
2778
2779
*/
2779
2780
#define NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT(Type, ...) \
2780
2781
friend void to_json(nlohmann::json& nlohmann_json_j, const Type& nlohmann_json_t) { NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_TO, __VA_ARGS__)) } \
@@ -2783,6 +2784,7 @@ JSON_HEDLEY_DIAGNOSTIC_POP
2783
2784
/*!
2784
2785
@brief macro
2785
2786
@def NLOHMANN_DEFINE_TYPE_INTRUSIVE_ONLY_SERIALIZE
2787
+ @since version 3.11.x
2786
2788
*/
2787
2789
#define NLOHMANN_DEFINE_TYPE_INTRUSIVE_ONLY_SERIALIZE(Type, ...) \
2788
2790
friend void to_json(nlohmann::json& nlohmann_json_j, const Type& nlohmann_json_t) { NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_TO, __VA_ARGS__)) }
@@ -2799,6 +2801,7 @@ JSON_HEDLEY_DIAGNOSTIC_POP
2799
2801
/*!
2800
2802
@brief macro
2801
2803
@def NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT
2804
+ @since version 3.11.0
2802
2805
*/
2803
2806
#define NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT(Type, ...) \
2804
2807
inline void to_json(nlohmann::json& nlohmann_json_j, const Type& nlohmann_json_t) { NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_TO, __VA_ARGS__)) } \
@@ -2807,6 +2810,7 @@ JSON_HEDLEY_DIAGNOSTIC_POP
2807
2810
/*!
2808
2811
@brief macro
2809
2812
@def NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_ONLY_SERIALIZE
2813
+ @since version 3.11.x
2810
2814
*/
2811
2815
#define NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_ONLY_SERIALIZE(Type, ...) \
2812
2816
inline void to_json(nlohmann::json& nlohmann_json_j, const Type& nlohmann_json_t) { NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_TO, __VA_ARGS__)) }
0 commit comments