We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a010a5 commit 359f93bCopy full SHA for 359f93b
include/gromox/flat_set.hpp
@@ -1,5 +1,7 @@
1
#pragma once
2
-#if __cplusplus >= 202300L
+#if __cplusplus >= 202000L
3
+#include <version>
4
+#ifdef __cpp_lib_flat_set
5
#include <flat_set>
6
namespace gromox {
7
template<typename T> using maybe_flat_set = std::flat_set<T>;
@@ -10,3 +12,4 @@ namespace gromox {
10
12
template<typename T> using maybe_flat_set = std::set<T>;
11
13
}
14
#endif
15
+#endif
0 commit comments