|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64569 - in sandbox/variadic_templates/boost/mpl: . aux_
From: cppljevans_at_[hidden]
Date: 2010-08-03 11:04:28
Author: cppljevans
Date: 2010-08-03 11:04:26 EDT (Tue, 03 Aug 2010)
New Revision: 64569
URL: http://svn.boost.org/trac/boost/changeset/64569
Log:
after mv from vt/sandbox
Added:
sandbox/variadic_templates/boost/mpl/and.hpp
- copied unchanged from r64560, /sandbox/variadic_templates/sandbox/boost/mpl/and.hpp
sandbox/variadic_templates/boost/mpl/aux_/template_arityv.hpp
- copied, changed from r64560, /sandbox/variadic_templates/sandbox/boost/mpl/aux_/template_arityv.hpp
sandbox/variadic_templates/boost/mpl/bindv.hpp
- copied unchanged from r64560, /sandbox/variadic_templates/sandbox/boost/mpl/bindv.hpp
sandbox/variadic_templates/boost/mpl/lambdav.hpp
- copied, changed from r64560, /sandbox/variadic_templates/sandbox/boost/mpl/lambdav.hpp
sandbox/variadic_templates/boost/mpl/or.hpp
- copied unchanged from r64560, /sandbox/variadic_templates/sandbox/boost/mpl/or.hpp
sandbox/variadic_templates/boost/mpl/quotev.hpp
- copied unchanged from r64560, /sandbox/variadic_templates/sandbox/boost/mpl/quotev.hpp
Text files modified:
sandbox/variadic_templates/boost/mpl/at_c_indices.hpp | 2
sandbox/variadic_templates/boost/mpl/aux_/template_arityv.hpp | 2
sandbox/variadic_templates/boost/mpl/fold_null_unit.hpp | 92 +--------------------------------------
sandbox/variadic_templates/boost/mpl/lambdav.hpp | 2
4 files changed, 8 insertions(+), 90 deletions(-)
Modified: sandbox/variadic_templates/boost/mpl/at_c_indices.hpp
==============================================================================
--- sandbox/variadic_templates/boost/mpl/at_c_indices.hpp (original)
+++ sandbox/variadic_templates/boost/mpl/at_c_indices.hpp 2010-08-03 11:04:26 EDT (Tue, 03 Aug 2010)
@@ -23,8 +23,8 @@
, package_c<Index, Indices...>
, Seq
>
+ : Seq<typename Op<Index,Indices>::type...>
{
- typedef Seq<typename Op<Index,Indices>::type...> type;
};
}//exit mpl namespace
Copied: sandbox/variadic_templates/boost/mpl/aux_/template_arityv.hpp (from r64560, /sandbox/variadic_templates/sandbox/boost/mpl/aux_/template_arityv.hpp)
==============================================================================
--- /sandbox/variadic_templates/sandbox/boost/mpl/aux_/template_arityv.hpp (original)
+++ sandbox/variadic_templates/boost/mpl/aux_/template_arityv.hpp 2010-08-03 11:04:26 EDT (Tue, 03 Aug 2010)
@@ -2,6 +2,8 @@
#ifndef BOOST_MPL_AUX_TEMPLATE_ARITYV_HPP_INCLUDED
#define BOOST_MPL_AUX_TEMPLATE_ARITYV_HPP_INCLUDED
+#include <boost/mpl/aux_/template_arity.hpp>
+
namespace boost { namespace mpl { namespace aux {
template
Modified: sandbox/variadic_templates/boost/mpl/fold_null_unit.hpp
==============================================================================
--- sandbox/variadic_templates/boost/mpl/fold_null_unit.hpp (original)
+++ sandbox/variadic_templates/boost/mpl/fold_null_unit.hpp 2010-08-03 11:04:26 EDT (Tue, 03 Aug 2010)
@@ -6,90 +6,6 @@
{
namespace mpl
{
-#if 0
-namespace aux
-{
- template
- < class Null
- , class Unit
- , template<class C>class Converter
- , typename... T
- >
- struct fold_null_unit_impl
- ;
- template
- < class Null
- , class Unit
- , template<class C>class Converter
- >
- struct fold_null_unit_impl
- < Null
- , Unit
- , Converter
- >
- : Unit //If no args, result is Unit.
- {};
-
- template
- < class Null
- , class Unit
- , template<class C>class Converter
- , typename Converted
- , typename... T
- >
- struct fold_null_unit_convert
- : fold_null_unit_impl
- < Null
- , Unit
- , Converter
- , T... //If Converted is not Null, ignore it.
- >
- {
- };
- template
- < class Null
- , class Unit
- , template<class C>class Converter
- , typename... T
- >
- struct fold_null_unit_convert
- < Null
- , Unit
- , Converter
- , Null //If Converted is Null...
- , T...
- >
- : Null //...result is Null.
- {
- };
-
- template
- < class Null
- , class Unit
- , template<class C>class Converter
- , typename T0
- , typename... T
- >
- struct fold_null_unit_impl
- < Null
- , Unit
- , Converter
- , T0
- , T...
- >
- : fold_null_unit_convert
- < Null
- , Unit
- , Converter
- , typename Converter<T0>::type
- , T...
- >
- {
- };
-
-}//exit aux namespace
-#endif
-
template
< class Null
, class Unit
@@ -123,14 +39,14 @@
: Unit
{
template
- < typename... T
+ < typename... U
>
struct apply
: fold_null_unit
< Null
, Unit
, Converter
- , T...
+ , U...
>
{};
};
@@ -163,14 +79,14 @@
>
{
template
- < typename... T
+ < typename... U
>
struct apply
: fold_null_unit
< Null
, Unit
, Converter
- , T...
+ , U...
>
{};
};
Copied: sandbox/variadic_templates/boost/mpl/lambdav.hpp (from r64560, /sandbox/variadic_templates/sandbox/boost/mpl/lambdav.hpp)
==============================================================================
--- /sandbox/variadic_templates/sandbox/boost/mpl/lambdav.hpp (original)
+++ sandbox/variadic_templates/boost/mpl/lambdav.hpp 2010-08-03 11:04:26 EDT (Tue, 03 Aug 2010)
@@ -74,7 +74,7 @@
>
{
typedef package<lambda < T, Tag >...> ls;
- typedef typename transform_pack<ls, aux::is_le<arg<1> > >::type is_les;
+ typedef typename transform1_pack<ls, aux::is_le<arg<1> > >::type is_les;
typedef typename apply_pack<is_les, or_>::type is_le;
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