Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65586 - sandbox/opaque/boost/opaque
From: vicente.botet_at_[hidden]
Date: 2010-09-25 07:51:57


Author: viboes
Date: 2010-09-25 07:51:54 EDT (Sat, 25 Sep 2010)
New Revision: 65586
URL: http://svn.boost.org/trac/boost/changeset/65586

Log:
RemoveOpaque: Remove inheritance of opaque_type

Text files modified:
   sandbox/opaque/boost/opaque/private_opaque_type.hpp | 4 ++--
   sandbox/opaque/boost/opaque/public_opaque_type.hpp | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: sandbox/opaque/boost/opaque/private_opaque_type.hpp
==============================================================================
--- sandbox/opaque/boost/opaque/private_opaque_type.hpp (original)
+++ sandbox/opaque/boost/opaque/private_opaque_type.hpp 2010-09-25 07:51:54 EDT (Sat, 25 Sep 2010)
@@ -24,9 +24,9 @@
 
     template <typename Final, typename T, typename Base=base_private_opaque_type>
     class private_opaque_type
- : public opaque_type< Final, T, Base >
+ : public new_type< Final, T, typename inherited_from_undelying<T, Final, Base>::type >
     {
- typedef opaque_type< Final, T, Base > base_type;
+ typedef new_type< Final, T, typename inherited_from_undelying<T, Final, Base>::type > base_type;
     protected:
         typedef private_opaque_type opaque_type_t;
     public:

Modified: sandbox/opaque/boost/opaque/public_opaque_type.hpp
==============================================================================
--- sandbox/opaque/boost/opaque/public_opaque_type.hpp (original)
+++ sandbox/opaque/boost/opaque/public_opaque_type.hpp 2010-09-25 07:51:54 EDT (Sat, 25 Sep 2010)
@@ -125,12 +125,12 @@
     class public_opaque_type
         : public
             conv_public_opaque_type2<T, T, mpl::and_<is_class<T>, is_base_of<base_public_opaque_type,T> >::value,
- opaque_type< Final, T, Base>
+ new_type< Final, T, typename inherited_from_undelying<T, Final, Base>::type >
>
     {
         typedef
             conv_public_opaque_type2<T, T, mpl::and_<is_class<T>, is_base_of<base_public_opaque_type,T> >::value,
- opaque_type< Final, T, Base>
+ new_type< Final, T, typename inherited_from_undelying<T, Final, Base>::type >
> base_type;
 
     protected:


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