|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69296 - sandbox/opaque/libs/opaque/test/new_class
From: vicente.botet_at_[hidden]
Date: 2011-02-26 02:49:48
Author: viboes
Date: 2011-02-26 02:49:45 EST (Sat, 26 Feb 2011)
New Revision: 69296
URL: http://svn.boost.org/trac/boost/changeset/69296
Log:
Opaque: FIX unwanted copy/paste
Text files modified:
sandbox/opaque/libs/opaque/test/new_class/less_than_equal_fail.cpp | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
Modified: sandbox/opaque/libs/opaque/test/new_class/less_than_equal_fail.cpp
==============================================================================
--- sandbox/opaque/libs/opaque/test/new_class/less_than_equal_fail.cpp (original)
+++ sandbox/opaque/libs/opaque/test/new_class/less_than_equal_fail.cpp 2011-02-26 02:49:45 EST (Sat, 26 Feb 2011)
@@ -13,23 +13,22 @@
using namespace boost;
typedef unsigned UT;
-typedef std::string NUT;
// NEW_CLASS(NT1,UT)
-struct NT1 : boost::opaque::new_class<NT1, UT>
+struct NT1 : boost::opaque::new_class<NT1, UT>
{
- typedef
+ typedef
boost::opaque::new_class<NT1, UT>
base_type;
-
- NT1(){}
+
+ NT1(){}
explicit NT1(unsigned v) : base_type(v) {}
- template <typename W>
- explicit NT1(W w)
- : base_type(w)
+ template <typename W>
+ explicit NT1(W w)
+ : base_type(w)
{}
- NT1(NT1 const& r)
- : base_type(r.val_)
+ NT1(NT1 const& r)
+ : base_type(r.val_)
{}
};
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