Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50496 - in branches/release: . boost/proto
From: eric_at_[hidden]
Date: 2009-01-06 12:43:45


Author: eric_niebler
Date: 2009-01-06 12:43:45 EST (Tue, 06 Jan 2009)
New Revision: 50496
URL: http://svn.boost.org/trac/boost/changeset/50496

Log:
Merged revisions 50454 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r50454 | eric_niebler | 2009-01-03 17:39:13 -0800 (Sat, 03 Jan 2009) | 1 line
  
  proto::expr is a valid mpl sequence
........

Properties modified:
   branches/release/ (props changed)
Text files modified:
   branches/release/boost/proto/fusion.hpp | 10 ++++++++++
   1 files changed, 10 insertions(+), 0 deletions(-)

Modified: branches/release/boost/proto/fusion.hpp
==============================================================================
--- branches/release/boost/proto/fusion.hpp (original)
+++ branches/release/boost/proto/fusion.hpp 2009-01-06 12:43:45 EST (Tue, 06 Jan 2009)
@@ -15,6 +15,7 @@
 #include <boost/type_traits/remove_reference.hpp>
 #include <boost/mpl/if.hpp>
 #include <boost/mpl/long.hpp>
+#include <boost/mpl/sequence_tag_fwd.hpp>
 #if BOOST_VERSION >= 103500
 #include <boost/fusion/include/is_view.hpp>
 #include <boost/fusion/include/tag_of_fwd.hpp>
@@ -708,6 +709,15 @@
 
 }}
 
+namespace boost { namespace mpl
+{
+ template<typename Tag, typename Args, long Arity>
+ struct sequence_tag< proto::expr<Tag, Args, Arity> >
+ {
+ typedef fusion::fusion_sequence_tag type;
+ };
+}}
+
 #endif // BOOST_PROTO_BUILDING_DOCS
 
 #undef UNREF


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