DAW JSON Link
Macros
daw_json_switches.h File Reference
#include <daw/daw_consteval.h>
#include <daw/daw_cpp_feature_check.h>
#include <daw/daw_is_detected.h>
#include <daw/stdinc/enable_if.h>

Go to the source code of this file.

Macros

#define CPP20CONSTEXPR
 
#define DAW_CAN_CONSTANT_EVAL(...)   true
 DAW_NO_FLATTEN disables any flatten attributes in code. This is disabled in GCC by default as it cannot handle it. More...
 
#define DAW_JSON_CPP20_CX_DTOR
 
#define DAW_JSON_CPP23_STATIC_CALL_OP
 This is in addition to the parse policy. Always do a full name match instead of sometimes relying on the hash. This was enabled in MSVC due to an issue that should be rechecked. More...
 
#define DAW_JSON_CPP23_STATIC_CALL_OP_CONST   const
 
#define DAW_JSON_CPP23_STATIC_CALL_OP_DISABLE_WARNING
 
#define DAW_JSON_CPP23_STATIC_CALL_OP_ENABLE_WARNING
 
#define DAW_JSON_CX_STRING
 
#define DAW_JSON_CX_STRVEC
 
#define DAW_JSON_CX_VECTOR
 
#define DAW_JSON_ENABLEIF(...)    , std::enable_if_t<( __VA_ARGS__ ), std::nullptr_t> = nullptr
 
#define DAW_JSON_ENABLEIF2(...)    , std::enable_if_t<( __VA_ARGS__ ), std::nullptr_t>
 
#define DAW_JSON_ENABLEIF_S(...)   , std::enable_if_t<( __VA_ARGS__ )>
 
#define DAW_JSON_MAKE_LOC_INFO_CONSTEVAL   DAW_CONSTEVAL
 
#define DAW_JSON_REQUIRES(...)
 

Macro Definition Documentation

◆ CPP20CONSTEXPR

#define CPP20CONSTEXPR

Definition at line 101 of file daw_json_switches.h.

◆ DAW_CAN_CONSTANT_EVAL

#define DAW_CAN_CONSTANT_EVAL (   ...)    true

DAW_NO_FLATTEN disables any flatten attributes in code. This is disabled in GCC by default as it cannot handle it.

Definition at line 68 of file daw_json_switches.h.

◆ DAW_JSON_CPP20_CX_DTOR

#define DAW_JSON_CPP20_CX_DTOR

Definition at line 216 of file daw_json_switches.h.

◆ DAW_JSON_CPP23_STATIC_CALL_OP

#define DAW_JSON_CPP23_STATIC_CALL_OP

This is in addition to the parse policy. Always do a full name match instead of sometimes relying on the hash. This was enabled in MSVC due to an issue that should be rechecked.

Definition at line 200 of file daw_json_switches.h.

◆ DAW_JSON_CPP23_STATIC_CALL_OP_CONST

#define DAW_JSON_CPP23_STATIC_CALL_OP_CONST   const

Definition at line 201 of file daw_json_switches.h.

◆ DAW_JSON_CPP23_STATIC_CALL_OP_DISABLE_WARNING

#define DAW_JSON_CPP23_STATIC_CALL_OP_DISABLE_WARNING

Definition at line 202 of file daw_json_switches.h.

◆ DAW_JSON_CPP23_STATIC_CALL_OP_ENABLE_WARNING

#define DAW_JSON_CPP23_STATIC_CALL_OP_ENABLE_WARNING

Definition at line 203 of file daw_json_switches.h.

◆ DAW_JSON_CX_STRING

#define DAW_JSON_CX_STRING

Definition at line 242 of file daw_json_switches.h.

◆ DAW_JSON_CX_STRVEC

#define DAW_JSON_CX_STRVEC

Definition at line 250 of file daw_json_switches.h.

◆ DAW_JSON_CX_VECTOR

#define DAW_JSON_CX_VECTOR

Definition at line 229 of file daw_json_switches.h.

◆ DAW_JSON_ENABLEIF

#define DAW_JSON_ENABLEIF (   ...)     , std::enable_if_t<( __VA_ARGS__ ), std::nullptr_t> = nullptr

Definition at line 277 of file daw_json_switches.h.

◆ DAW_JSON_ENABLEIF2

#define DAW_JSON_ENABLEIF2 (   ...)     , std::enable_if_t<( __VA_ARGS__ ), std::nullptr_t>

Definition at line 279 of file daw_json_switches.h.

◆ DAW_JSON_ENABLEIF_S

#define DAW_JSON_ENABLEIF_S (   ...)    , std::enable_if_t<( __VA_ARGS__ )>

Definition at line 281 of file daw_json_switches.h.

◆ DAW_JSON_MAKE_LOC_INFO_CONSTEVAL

#define DAW_JSON_MAKE_LOC_INFO_CONSTEVAL   DAW_CONSTEVAL

Definition at line 108 of file daw_json_switches.h.

◆ DAW_JSON_REQUIRES

#define DAW_JSON_REQUIRES (   ...)

Definition at line 282 of file daw_json_switches.h.