Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59543 - trunk/boost/spirit/home/qi/numeric/detail
From: hartmut.kaiser_at_[hidden]
Date: 2010-02-06 23:27:59


Author: hkaiser
Date: 2010-02-06 23:27:58 EST (Sat, 06 Feb 2010)
New Revision: 59543
URL: http://svn.boost.org/trac/boost/changeset/59543

Log:
Spirit more fixes for Qi's numeric_utils
Text files modified:
   trunk/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp (original)
+++ trunk/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp 2010-02-06 23:27:58 EST (Sat, 06 Feb 2010)
@@ -350,7 +350,11 @@
                 }
             }
 
- Attribute val = Accumulate ? attr : Attribute(0);
+ typedef typename
+ traits::attribute_type<Attribute>::type
+ attribute_type;
+
+ attribute_type val = Accumulate ? attr : attribute_type(0);
             std::size_t count = 0;
             char_type ch;
 


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