$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: eric_at_[hidden]
Date: 2008-06-12 13:05:39
Author: eric_niebler
Date: 2008-06-12 13:05:38 EDT (Thu, 12 Jun 2008)
New Revision: 46358
URL: http://svn.boost.org/trac/boost/changeset/46358
Log:
get xpressive compiling on gcc-4.3 --std=c++0x
Text files modified: 
   trunk/boost/xpressive/detail/static/is_pure.hpp |     8 ++++++++                                
   1 files changed, 8 insertions(+), 0 deletions(-)
Modified: trunk/boost/xpressive/detail/static/is_pure.hpp
==============================================================================
--- trunk/boost/xpressive/detail/static/is_pure.hpp	(original)
+++ trunk/boost/xpressive/detail/static/is_pure.hpp	2008-06-12 13:05:38 EDT (Thu, 12 Jun 2008)
@@ -199,6 +199,14 @@
         BOOST_MPL_ASSERT_RELATION(0, !=, (width_of<Expr, Char>::value));
     };
 
+    template<typename Expr, typename Char>
+    struct use_simple_repeat<Expr &, Char>
+      : use_simple_repeat_<Expr, Char>
+    {
+        // should never try to repeat something of 0-width
+        BOOST_MPL_ASSERT_RELATION(0, !=, (width_of<Expr, Char>::value));
+    };
+
 }}} // namespace boost::xpressive::detail
 
 #endif