|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65752 - sandbox/opaque/boost/opaque
From: vicente.botet_at_[hidden]
Date: 2010-10-04 16:06:54
Author: viboes
Date: 2010-10-04 16:06:50 EDT (Mon, 04 Oct 2010)
New Revision: 65752
URL: http://svn.boost.org/trac/boost/changeset/65752
Log:
Opaque:
* Renaming
Text files modified:
sandbox/opaque/boost/opaque/new_type.hpp | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
Modified: sandbox/opaque/boost/opaque/new_type.hpp
==============================================================================
--- sandbox/opaque/boost/opaque/new_type.hpp (original)
+++ sandbox/opaque/boost/opaque/new_type.hpp 2010-10-04 16:06:50 EDT (Mon, 04 Oct 2010)
@@ -22,15 +22,15 @@
template <
typename T,
typename Tag,
- typename Concepts=boost::mpl::vector0<>,
+ typename MetaMixinSeq=boost::mpl::vector0<>,
typename Base=base_new_type
>
class new_type
- : public new_class<new_type<T, Tag, Concepts, Base>,
- T, Concepts, Base>
+ : public new_class<new_type<T, Tag, MetaMixinSeq, Base>,
+ T, MetaMixinSeq, Base>
{
- typedef new_class<new_type<T, Tag, Concepts, Base>,
- T, Concepts, Base> base_type;
+ typedef new_class<new_type<T, Tag, MetaMixinSeq, Base>,
+ T, MetaMixinSeq, Base> base_type;
public:
template <typename W>
explicit new_type(W v) : base_type(v) {}
@@ -40,8 +40,14 @@
};
- template <typename T, typename UT, typename Tag, typename Concepts, typename Base >
- T opaque_static_cast(new_type<UT,Tag,Concepts,Base> const& v)
+ template <
+ typename T,
+ typename UT,
+ typename Tag,
+ typename MetaMixinSeq,
+ typename Base
+ >
+ T opaque_static_cast(new_type<UT,Tag,MetaMixinSeq,Base> const& v)
{
return static_cast<T>(v.underlying());
}
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