summaryrefslogtreecommitdiffstats
path: root/Utilities/std/cm/string_view
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-05-04 09:21:41 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-05-07 09:04:06 (GMT)
commit95a1b2c7b8cda5593a0a369b88b6b41669f44712 (patch)
tree9940b030ea206935fa68a12491d0d32f2a0bd482 /Utilities/std/cm/string_view
parent30f91596677b0b93f22b5123d27fb76f494d0864 (diff)
downloadCMake-95a1b2c7b8cda5593a0a369b88b6b41669f44712.zip
CMake-95a1b2c7b8cda5593a0a369b88b6b41669f44712.tar.gz
CMake-95a1b2c7b8cda5593a0a369b88b6b41669f44712.tar.bz2
stl containers: enhance compatibility with C++14, C++17 and C++20
* Ensure various functions working with containers are available through all headers as specified by the standard. * Add C++20 std::ssize() function.
Diffstat (limited to 'Utilities/std/cm/string_view')
-rw-r--r--Utilities/std/cm/string_view2
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/std/cm/string_view b/Utilities/std/cm/string_view
index 9542bac..35cf5d9 100644
--- a/Utilities/std/cm/string_view
+++ b/Utilities/std/cm/string_view
@@ -9,6 +9,8 @@
# define CMake_HAVE_CXX_STRING_VIEW
#endif
+#include <cm/bits/container_helpers.hxx> // IWYU pragma: export
+
#ifdef CMake_HAVE_CXX_STRING_VIEW
# include <string_view> // IWYU pragma: export
namespace cm {