Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71169 - sandbox/opaque/libs/opaque/example
From: vicente.botet_at_[hidden]
Date: 2011-04-10 16:28:27


Author: viboes
Date: 2011-04-10 16:28:26 EDT (Sun, 10 Apr 2011)
New Revision: 71169
URL: http://svn.boost.org/trac/boost/changeset/71169

Log:
Conversion: cleanup
Text files modified:
   sandbox/opaque/libs/opaque/example/ex1.cpp | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: sandbox/opaque/libs/opaque/example/ex1.cpp
==============================================================================
--- sandbox/opaque/libs/opaque/example/ex1.cpp (original)
+++ sandbox/opaque/libs/opaque/example/ex1.cpp 2011-04-10 16:28:26 EDT (Sun, 10 Apr 2011)
@@ -22,22 +22,22 @@
 {
     if(a) return a > b; // 1 don't fails even if a is not a bool
     else return 0; // 2 don't fails even if 0 is not a bool
-}
+}
 #else
 struct private_unsigned_tag;
 typedef boost::opaque::new_type<unsigned, private_unsigned_tag, boost::mpl::vector<
- opaque::using_totally_ordered1<opaque::boolean>
+ opaque::using_totally_ordered<opaque::boolean>
> > Int;
-//~ BOOST_OPAQUE_PRIVATE_TYPEDEF(int, Int);
+//~ BOOST_OPAQUE_NEW_TYPE(int, Int,opaque::using_totally_ordered1<opaque::boolean>);
 
 opaque::boolean gt(Int a, Int b)
 {
     if(a!=Int(0)) return a > b; // 1
     else return opaque::false_; // 2
-}
+}
 #endif
 
-
+
 void t() {
     BOOST_TEST(gt(Int(1),Int(0)));
 }


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