Skip to content

Commit 4981e55

Browse files
committed
Added an option to support experimental optional
1 parent 3c43aa3 commit 4981e55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hdr/sqlite_modern_cpp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
#ifdef MODERN_SQLITE_STD_OPTIONAL_SUPPORT
2929
#include <optional>
30+
#elif _MODERN_SQLITE_EXPERIMENTAL_OPTIONAL_SUPPORT && __has_include(<experimental/optional>)
31+
#include <experimental/optional>
3032
#endif
3133

3234
#ifdef _MODERN_SQLITE_BOOST_OPTIONAL_SUPPORT

0 commit comments

Comments
 (0)