Support std::optional members for TOML11_DEFINE_CONVERSION_NON_INTRUSIVE

This commit is contained in:
Ken Matsui
2024-07-23 08:44:31 -07:00
parent 572781971f
commit 6d4d953304
3 changed files with 172 additions and 3 deletions

View File

@@ -77,6 +77,12 @@
# endif
#endif
#if TOML11_CPLUSPLUS_STANDARD_VERSION >= TOML11_CXX17_VALUE
# if __has_include(<optional>)
# define TOML11_HAS_OPTIONAL 1
# endif
#endif
#if defined(TOML11_COMPILE_SOURCES)
# define TOML11_INLINE
#else