diff --git a/include/boost/container_hash/detail/requires_cxx11.hpp b/include/boost/container_hash/detail/requires_cxx11.hpp new file mode 100644 index 0000000..61db135 --- /dev/null +++ b/include/boost/container_hash/detail/requires_cxx11.hpp @@ -0,0 +1,22 @@ +#ifndef BOOST_HASH_DETAIL_REQUIRES_CXX11_HPP_INCLUDED +#define BOOST_HASH_DETAIL_REQUIRES_CXX11_HPP_INCLUDED + +// Copyright 2023 Peter Dimov +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt + +#include +#include + +#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || \ + defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \ + defined(BOOST_NO_CXX11_DECLTYPE) || \ + defined(BOOST_NO_CXX11_CONSTEXPR) || \ + defined(BOOST_NO_CXX11_NOEXCEPT) || \ + defined(BOOST_NO_CXX11_HDR_TUPLE) + +BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.ContainerHash 1.82 and will be removed in Boost.ContainerHash 1.84.") + +#endif + +#endif // #ifndef BOOST_HASH_DETAIL_REQUIRES_CXX11_HPP_INCLUDED diff --git a/include/boost/container_hash/hash.hpp b/include/boost/container_hash/hash.hpp index d89938e..605644b 100644 --- a/include/boost/container_hash/hash.hpp +++ b/include/boost/container_hash/hash.hpp @@ -11,6 +11,7 @@ #define BOOST_FUNCTIONAL_HASH_HASH_HPP #include +#include #include #include #include diff --git a/include/boost/container_hash/is_contiguous_range.hpp b/include/boost/container_hash/is_contiguous_range.hpp index 0e31c11..96043cc 100644 --- a/include/boost/container_hash/is_contiguous_range.hpp +++ b/include/boost/container_hash/is_contiguous_range.hpp @@ -5,6 +5,7 @@ #ifndef BOOST_HASH_IS_CONTIGUOUS_RANGE_HPP_INCLUDED #define BOOST_HASH_IS_CONTIGUOUS_RANGE_HPP_INCLUDED +#include #include #include #include diff --git a/include/boost/container_hash/is_range.hpp b/include/boost/container_hash/is_range.hpp index 56fbd2e..2d3746c 100644 --- a/include/boost/container_hash/is_range.hpp +++ b/include/boost/container_hash/is_range.hpp @@ -5,6 +5,7 @@ #ifndef BOOST_HASH_IS_RANGE_HPP_INCLUDED #define BOOST_HASH_IS_RANGE_HPP_INCLUDED +#include #include #include #include