Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64995 - sandbox/chrono/libs/chrono/test
From: vicente.botet_at_[hidden]
Date: 2010-08-25 11:17:01


Author: viboes
Date: 2010-08-25 11:17:00 EDT (Wed, 25 Aug 2010)
New Revision: 64995
URL: http://svn.boost.org/trac/boost/changeset/64995

Log:
Towards implementing common_type without Typeof support
Text files modified:
   sandbox/chrono/libs/chrono/test/common_type_test.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/chrono/libs/chrono/test/common_type_test.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/test/common_type_test.cpp (original)
+++ sandbox/chrono/libs/chrono/test/common_type_test.cpp 2010-08-25 11:17:00 EDT (Wed, 25 Aug 2010)
@@ -79,11 +79,11 @@
 int test_main( int argc, char * argv[] )
 {
     assignation_2<C1C2, C1>();
- //~ typedef boost::common_type<C1C2&, C1&>::type T1; // fails if BOOST_COMMON_TYPE_DONT_USE_TYPEOF
- std::cout << f(declval_bool()?declval_C1C2():declval_C1()) << std::endl;
+ typedef boost::common_type<C1C2&, C1&>::type T1; // fails if BOOST_COMMON_TYPE_DONT_USE_TYPEOF
+ //~ std::cout << f(declval_bool()?declval_C1C2():declval_C1()) << std::endl;
     typedef boost::common_type<C3*, C2*>::type T2;
     typedef boost::common_type<int*, int const*>::type T3;
- //~ typedef boost::common_type<int volatile*, int const*>::type T4; // fails if BOOST_COMMON_TYPE_DONT_USE_TYPEOF
+ typedef boost::common_type<int volatile*, int const*>::type T4; // fails if BOOST_COMMON_TYPE_DONT_USE_TYPEOF
     typedef boost::common_type<int*, int volatile*>::type T5;
     //~ typedef boost::common_type<short volatile*, int const*>::type T5; // fails
 


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