From e27d60777be08a139e921560f36ee38589f3ba56 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 8 Mar 2009 09:45:30 +0000 Subject: [PATCH] Remove deprecated headers. Fixes #2412. [SVN r51646] --- hash/test/Jamfile.v2 | 1 - hash/test/hash_deprecated_headers.cpp | 26 ------------------------ include/boost/functional/hash/deque.hpp | 7 ------- include/boost/functional/hash/list.hpp | 7 ------- include/boost/functional/hash/map.hpp | 7 ------- include/boost/functional/hash/pair.hpp | 7 ------- include/boost/functional/hash/set.hpp | 7 ------- include/boost/functional/hash/vector.hpp | 7 ------- 8 files changed, 69 deletions(-) delete mode 100644 hash/test/hash_deprecated_headers.cpp delete mode 100644 include/boost/functional/hash/deque.hpp delete mode 100644 include/boost/functional/hash/list.hpp delete mode 100644 include/boost/functional/hash/map.hpp delete mode 100644 include/boost/functional/hash/pair.hpp delete mode 100644 include/boost/functional/hash/set.hpp delete mode 100644 include/boost/functional/hash/vector.hpp diff --git a/hash/test/Jamfile.v2 b/hash/test/Jamfile.v2 index 2f771b3..ff149a7 100644 --- a/hash/test/Jamfile.v2 +++ b/hash/test/Jamfile.v2 @@ -40,7 +40,6 @@ test-suite functional/hash [ compile-fail hash_no_ext_fail_test.cpp ] [ run hash_no_ext_macro_1.cpp ] [ run hash_no_ext_macro_2.cpp ] - [ compile-fail hash_deprecated_headers.cpp ] ; build-project ../examples ; diff --git a/hash/test/hash_deprecated_headers.cpp b/hash/test/hash_deprecated_headers.cpp deleted file mode 100644 index 6a97e70..0000000 --- a/hash/test/hash_deprecated_headers.cpp +++ /dev/null @@ -1,26 +0,0 @@ - -// Copyright 2007-2008 Daniel James. -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -// All these headers are meant output a warning, but not cause the compilation -// to fail. - -#include -#include -#include -#include -#include -#include - -// And a quick check that the hash library was included. -// Strictly speaking I should do this once for each header -// but that would just be wasting the testing resources. - -#include - -int main() { - std::vector v; - boost::hash > x; - x(v); -} diff --git a/include/boost/functional/hash/deque.hpp b/include/boost/functional/hash/deque.hpp deleted file mode 100644 index 0dd8b99..0000000 --- a/include/boost/functional/hash/deque.hpp +++ /dev/null @@ -1,7 +0,0 @@ - -// Copyright 2005-2008 Daniel James. -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -#error "boost/functional/hash/deque.hpp is no longer supported, use boost/functional/hash.hpp instead." -#include diff --git a/include/boost/functional/hash/list.hpp b/include/boost/functional/hash/list.hpp deleted file mode 100644 index 61e7b6d..0000000 --- a/include/boost/functional/hash/list.hpp +++ /dev/null @@ -1,7 +0,0 @@ - -// Copyright 2005-2008 Daniel James. -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -#error "boost/functional/hash/list.hpp is no longer supported, use boost/functional/hash.hpp instead." -#include diff --git a/include/boost/functional/hash/map.hpp b/include/boost/functional/hash/map.hpp deleted file mode 100644 index 2dcd58b..0000000 --- a/include/boost/functional/hash/map.hpp +++ /dev/null @@ -1,7 +0,0 @@ - -// Copyright 2005-2008 Daniel James. -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -#error "boost/functional/hash/map.hpp is no longer supported, use boost/functional/hash.hpp instead." -#include diff --git a/include/boost/functional/hash/pair.hpp b/include/boost/functional/hash/pair.hpp deleted file mode 100644 index d771460..0000000 --- a/include/boost/functional/hash/pair.hpp +++ /dev/null @@ -1,7 +0,0 @@ - -// Copyright 2005-2008 Daniel James. -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -#error "boost/functional/hash/pair.hpp is no longer supported, use boost/functional/hash.hpp instead." -#include diff --git a/include/boost/functional/hash/set.hpp b/include/boost/functional/hash/set.hpp deleted file mode 100644 index e85f80d..0000000 --- a/include/boost/functional/hash/set.hpp +++ /dev/null @@ -1,7 +0,0 @@ - -// Copyright 2005-2008 Daniel James. -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -#error "boost/functional/hash/set.hpp is no longer supported, use boost/functional/hash.hpp instead." -#include diff --git a/include/boost/functional/hash/vector.hpp b/include/boost/functional/hash/vector.hpp deleted file mode 100644 index 7fe2be6..0000000 --- a/include/boost/functional/hash/vector.hpp +++ /dev/null @@ -1,7 +0,0 @@ - -// Copyright 2005-2008 Daniel James. -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -#error "boost/functional/hash/vector.hpp is no longer supported, use boost/functional/hash.hpp instead." -#include