Reject ranges that have themselves as their value_type (e.g. filesystem::path)

This commit is contained in:
Peter Dimov
2022-06-03 19:52:03 +03:00
parent 6781cff622
commit 866bd60dd3
3 changed files with 15 additions and 3 deletions
+8
View File
@@ -2,6 +2,14 @@
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
#if defined(_MSC_VER)
# pragma warning(disable: 4714) // forceinline not inlined
#endif
#if defined(__clang__)
# pragma clang diagnostic ignored "-Wsign-conversion"
#endif
#include <boost/filesystem/path.hpp>
#include <boost/container_hash/hash.hpp>
#include <boost/core/lightweight_test.hpp>