Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorcc-engineering <13055392+cc-engineering@users.noreply.github.com>2019-04-09 17:24:01 +0300
committerGitHub <noreply@github.com>2019-04-09 17:24:01 +0300
commitd3c01acd1948d59924b3735add4c593b5cb55b59 (patch)
tree579e559b899b467322f3c10f2ed0710d0abb5ab8 /std
parent8bc91ab1d991f0540dd7727a2cc670b7a222fec8 (diff)
[generator:geo_objects] Refactor: KeyValueMem -> KeyValueStorage (#10646)
* [generator:geo_objects] Refactor: KeyValueMem -> KeyValueStorage, remove KeyValueMap
Diffstat (limited to 'std')
-rw-r--r--std/string_view.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/std/string_view.hpp b/std/string_view.hpp
new file mode 100644
index 0000000000..afd79d13c6
--- /dev/null
+++ b/std/string_view.hpp
@@ -0,0 +1,13 @@
+#pragma once
+
+#if __cplusplus > 201402L
+#include <string_view>
+#elif defined(__clang__) && __clang_major__ >= 7 && __cplusplus >= 201402L
+#include <string_view>
+#else
+#include <experimental/string_view>
+namespace std
+{
+using string_view = experimental::string_view;
+}
+#endif