Skip to content

Commit d1d5af1

Browse files
committed
Updated README.md to reflect the new option
1 parent 445c258 commit d1d5af1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ int main() {
325325
326326
If you do not have C++17 support, you can use boost optional instead by defining `_MODERN_SQLITE_BOOST_OPTIONAL_SUPPORT` before importing the `sqlite_modern_cpp` header.
327327
328+
If your compiler does support C++17, but does not have optional (macOS for instance, at the time this was written), you can use std::experimental::optional instead by defining `_MODERN_SQLITE_EXPERIMENTAL_OPTIONAL_SUPPORT` before importing the `sqlite_modern_cpp` header.
329+
328330
**Note: boost support is deprecated and will be removed in future versions.**
329331
330332
Variant type support (C++17)

0 commit comments

Comments
 (0)