Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69853 - trunk/libs/functional/hash/test
From: dnljms_at_[hidden]
Date: 2011-03-11 13:18:01


Author: danieljames
Date: 2011-03-11 13:17:48 EST (Fri, 11 Mar 2011)
New Revision: 69853
URL: http://svn.boost.org/trac/boost/changeset/69853

Log:
Remove shared_ptr fail test since it now supports Boost.Hash
Removed:
   trunk/libs/functional/hash/test/shared_ptr_fail_test.cpp
Text files modified:
   trunk/libs/functional/hash/test/Jamfile.v2 | 1 -
   1 files changed, 0 insertions(+), 1 deletions(-)

Modified: trunk/libs/functional/hash/test/Jamfile.v2
==============================================================================
--- trunk/libs/functional/hash/test/Jamfile.v2 (original)
+++ trunk/libs/functional/hash/test/Jamfile.v2 2011-03-11 13:17:48 EST (Fri, 11 Mar 2011)
@@ -47,7 +47,6 @@
         [ compile-fail hash_no_ext_fail_test.cpp ]
         [ compile-fail namespace_fail_test.cpp ]
         [ compile-fail implicit_fail_test.cpp ]
- [ compile-fail shared_ptr_fail_test.cpp ]
         [ run hash_no_ext_macro_1.cpp ]
         [ run hash_no_ext_macro_2.cpp ]
     ;

Deleted: trunk/libs/functional/hash/test/shared_ptr_fail_test.cpp
==============================================================================
--- trunk/libs/functional/hash/test/shared_ptr_fail_test.cpp 2011-03-11 13:17:48 EST (Fri, 11 Mar 2011)
+++ (empty file)
@@ -1,16 +0,0 @@
-
-// Copyright 2010 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)
-
-#include <boost/functional/hash.hpp>
-#include <boost/shared_ptr.hpp>
-
-// This should obviously pass if shared_ptr ever supports Boost.Hash.
-
-int main() {
- boost::hash<boost::shared_ptr<int> > hash;
- boost::shared_ptr<int> x(new int(10));
-
- hash(x);
-}


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