Boost logo

Boost-Commit :

From: garcia_at_[hidden]
Date: 2008-07-10 19:01:26


Author: garcia
Date: 2008-07-10 19:01:26 EDT (Thu, 10 Jul 2008)
New Revision: 47297
URL: http://svn.boost.org/trac/boost/changeset/47297

Log:
Added an anonymous unwrapping test.

Text files modified:
   trunk/libs/utility/ref_test.cpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/libs/utility/ref_test.cpp
==============================================================================
--- trunk/libs/utility/ref_test.cpp (original)
+++ trunk/libs/utility/ref_test.cpp 2008-07-10 19:01:26 EDT (Thu, 10 Jul 2008)
@@ -109,6 +109,7 @@
   do_unwrap(cref(cc));
 
   BOOST_CHECK(cc.count() == 1);
+ BOOST_CHECK(unwrap_ref(ref(cc)).count() == 1);
 }
 
 int test_main(int, char * [])


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