Update of /cvsroot/boost/boost/boost/parameter/aux_
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27545/boost/parameter/aux_
Modified Files:
Tag: RC_1_34_0
arg_list.hpp
Log Message:
Merged HEAD to RC.
Index: arg_list.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/parameter/aux_/arg_list.hpp,v
retrieving revision 1.15.2.2
retrieving revision 1.15.2.3
diff -u -d -r1.15.2.2 -r1.15.2.3
--- arg_list.hpp 21 Sep 2006 17:33:28 -0000 1.15.2.2
+++ arg_list.hpp 23 Sep 2006 10:41:14 -0000 1.15.2.3
@@ -67,7 +67,7 @@
// lookup given that default
struct binding
{
- template<class KW, class Default, class Reference = mpl::true_>
+ template<class KW, class Default, class Reference>
struct apply
{
typedef Default type;
@@ -221,13 +221,13 @@
// lookup given that default
struct binding
{
- template <class KW, class Default, class Reference = mpl::true_>
+ template <class KW, class Default, class Reference>
struct apply
{
typedef typename mpl::eval_if<
boost::is_same<KW, key_type>
, mpl::if_<Reference, reference, value_type>
- , mpl::apply_wrap2<typename Next::binding, KW, Default>
+ , mpl::apply_wrap3<typename Next::binding, KW, Default,
Reference>
>::type type;
};
};
@@ -297,7 +297,7 @@
// Outer indexing operators that dispatch to the right node's
// get() function.
template <class KW>
- typename mpl::apply_wrap2<binding, KW, void_>::type
+ typename mpl::apply_wrap3<binding, KW, void_, mpl::true_>::type
operator[](keyword<KW> const& x) const
{
typename mpl::apply_wrap1<key_owner, KW>::type const& sublist = *this;
@@ -305,7 +305,7 @@
}
template <class KW, class Default>
- typename mpl::apply_wrap2<binding, KW, Default&>::type
+ typename mpl::apply_wrap3<binding, KW, Default&, mpl::true_>::type
operator[](default_<KW, Default> x) const
{
typename mpl::apply_wrap1<key_owner, KW>::type const& sublist = *this;
@@ -313,9 +313,10 @@
}
template <class KW, class F>
- typename mpl::apply_wrap2<
+ typename mpl::apply_wrap3<
binding,KW
, typename result_of0<F>::type
+ , mpl::true_
>::type
operator[](lazy_default<KW,F> x) const
{
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs