|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51808 - trunk/boost/proto
From: eric_at_[hidden]
Date: 2009-03-16 18:26:22
Author: eric_niebler
Date: 2009-03-16 18:26:20 EDT (Mon, 16 Mar 2009)
New Revision: 51808
URL: http://svn.boost.org/trac/boost/changeset/51808
Log:
work around issue with <termios.h> #define'ing B0
Text files modified:
trunk/boost/proto/make_expr.hpp | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
Modified: trunk/boost/proto/make_expr.hpp
==============================================================================
--- trunk/boost/proto/make_expr.hpp (original)
+++ trunk/boost/proto/make_expr.hpp 2009-03-16 18:26:20 EDT (Mon, 16 Mar 2009)
@@ -721,7 +721,7 @@
/// <tt>as_expr\<Domain\>(x)</tt>.
///
/// Let <tt>make_\<Tag\>(b0,...bN)</tt> be defined as
- /// <tt>expr\<Tag, listN\<B0,...BN\> \>::::make(b0,...bN)</tt>
+ /// <tt>expr\<Tag, listN\<C0,...CN\> \>::::make(c0,...cN)</tt>
/// where \c Bx is the type of \c bx.
///
/// \return <tt>Domain()(make_\<Tag\>(wrap_(a0),...wrap_(aN)))</tt>.
@@ -744,19 +744,19 @@
/// \overload
///
- template<typename Tag, typename Domain, typename B0>
+ template<typename Tag, typename Domain, typename C0>
typename result_of::make_expr<
Tag
, Domain
- , B0 const
+ , C0 const
>::type const
- make_expr(B0 const &b0)
+ make_expr(C0 const &c0)
{
return proto::detail::make_expr_<
Tag
, Domain
- , B0 const
- >()(b0);
+ , C0 const
+ >()(c0);
}
// Additional overloads generated by the preprocessor...
@@ -1110,19 +1110,19 @@
/// \overload
///
- template<typename Tag, typename Domain BOOST_PP_ENUM_TRAILING_PARAMS(N, typename B)>
+ template<typename Tag, typename Domain BOOST_PP_ENUM_TRAILING_PARAMS(N, typename C)>
typename result_of::make_expr<
Tag
, Domain
- BOOST_PP_ENUM_TRAILING_PARAMS(N, const B)
+ BOOST_PP_ENUM_TRAILING_PARAMS(N, const C)
>::type const
- make_expr(BOOST_PP_ENUM_BINARY_PARAMS(N, const B, &b))
+ make_expr(BOOST_PP_ENUM_BINARY_PARAMS(N, const C, &c))
{
return proto::detail::make_expr_<
Tag
, Domain
- BOOST_PP_ENUM_TRAILING_PARAMS(N, const B)
- >()(BOOST_PP_ENUM_PARAMS(N, b));
+ BOOST_PP_ENUM_TRAILING_PARAMS(N, const C)
+ >()(BOOST_PP_ENUM_PARAMS(N, c));
}
#undef N
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