Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51646 - in trunk: boost/functional/hash libs/functional/hash/test
From: daniel_james_at_[hidden]
Date: 2009-03-08 05:45:31


Author: danieljames
Date: 2009-03-08 05:45:30 EDT (Sun, 08 Mar 2009)
New Revision: 51646
URL: http://svn.boost.org/trac/boost/changeset/51646

Log:
Remove deprecated headers.

Fixes #2412.
Removed:
   trunk/boost/functional/hash/deque.hpp
   trunk/boost/functional/hash/list.hpp
   trunk/boost/functional/hash/map.hpp
   trunk/boost/functional/hash/pair.hpp
   trunk/boost/functional/hash/set.hpp
   trunk/boost/functional/hash/vector.hpp
   trunk/libs/functional/hash/test/hash_deprecated_headers.cpp
Text files modified:
   trunk/libs/functional/hash/test/Jamfile.v2 | 1 -
   1 files changed, 0 insertions(+), 1 deletions(-)

Deleted: trunk/boost/functional/hash/deque.hpp
==============================================================================
--- trunk/boost/functional/hash/deque.hpp 2009-03-08 05:45:30 EDT (Sun, 08 Mar 2009)
+++ (empty file)
@@ -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 <boost/functional/hash.hpp>

Deleted: trunk/boost/functional/hash/list.hpp
==============================================================================
--- trunk/boost/functional/hash/list.hpp 2009-03-08 05:45:30 EDT (Sun, 08 Mar 2009)
+++ (empty file)
@@ -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 <boost/functional/hash.hpp>

Deleted: trunk/boost/functional/hash/map.hpp
==============================================================================
--- trunk/boost/functional/hash/map.hpp 2009-03-08 05:45:30 EDT (Sun, 08 Mar 2009)
+++ (empty file)
@@ -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 <boost/functional/hash.hpp>

Deleted: trunk/boost/functional/hash/pair.hpp
==============================================================================
--- trunk/boost/functional/hash/pair.hpp 2009-03-08 05:45:30 EDT (Sun, 08 Mar 2009)
+++ (empty file)
@@ -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 <boost/functional/hash.hpp>

Deleted: trunk/boost/functional/hash/set.hpp
==============================================================================
--- trunk/boost/functional/hash/set.hpp 2009-03-08 05:45:30 EDT (Sun, 08 Mar 2009)
+++ (empty file)
@@ -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 <boost/functional/hash.hpp>

Deleted: trunk/boost/functional/hash/vector.hpp
==============================================================================
--- trunk/boost/functional/hash/vector.hpp 2009-03-08 05:45:30 EDT (Sun, 08 Mar 2009)
+++ (empty file)
@@ -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 <boost/functional/hash.hpp>

Modified: trunk/libs/functional/hash/test/Jamfile.v2
==============================================================================
--- trunk/libs/functional/hash/test/Jamfile.v2 (original)
+++ trunk/libs/functional/hash/test/Jamfile.v2 2009-03-08 05:45:30 EDT (Sun, 08 Mar 2009)
@@ -40,7 +40,6 @@
         [ 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 ;

Deleted: trunk/libs/functional/hash/test/hash_deprecated_headers.cpp
==============================================================================
--- trunk/libs/functional/hash/test/hash_deprecated_headers.cpp 2009-03-08 05:45:30 EDT (Sun, 08 Mar 2009)
+++ (empty file)
@@ -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 <boost/functional/hash/deque.hpp>
-#include <boost/functional/hash/list.hpp>
-#include <boost/functional/hash/map.hpp>
-#include <boost/functional/hash/pair.hpp>
-#include <boost/functional/hash/set.hpp>
-#include <boost/functional/hash/vector.hpp>
-
-// 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 <vector>
-
-int main() {
- std::vector<int> v;
- boost::hash<std::vector<int> > x;
- x(v);
-}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk