|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57452 - in trunk/boost/spirit/home: karma/char support
From: hartmut.kaiser_at_[hidden]
Date: 2009-11-07 10:45:02
Author: hkaiser
Date: 2009-11-07 10:45:01 EST (Sat, 07 Nov 2009)
New Revision: 57452
URL: http://svn.boost.org/trac/boost/changeset/57452
Log:
Spirit: workarounds for Intel compiler deficits
Text files modified:
trunk/boost/spirit/home/karma/char/char_class.hpp | 3 ++-
trunk/boost/spirit/home/support/attributes.hpp | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
Modified: trunk/boost/spirit/home/karma/char/char_class.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/char/char_class.hpp (original)
+++ trunk/boost/spirit/home/karma/char/char_class.hpp 2009-11-07 10:45:01 EST (Sat, 07 Nov 2009)
@@ -132,7 +132,8 @@
ch = CharParam(attr);
using spirit::char_class::classify;
- return classify<char_encoding>::is(tag::space(), attr);
+ spirit::tag::space const space_;
+ return classify<char_encoding>::is(space_, attr);
}
// any_space has no attribute attached, use single space character
Modified: trunk/boost/spirit/home/support/attributes.hpp
==============================================================================
--- trunk/boost/spirit/home/support/attributes.hpp (original)
+++ trunk/boost/spirit/home/support/attributes.hpp 2009-11-07 10:45:01 EST (Sat, 07 Nov 2009)
@@ -506,7 +506,7 @@
///////////////////////////////////////////////////////////////////////////
template <typename Transformed, typename Exposed>
typename spirit::result_of::pre_transform<Exposed, Transformed>::type
- pre_transform(Exposed& attr)
+ pre_transform(Exposed& attr BOOST_PROTO_DISABLE_IF_IS_CONST(Exposed))
{
return transform_attribute<Exposed, Transformed>::pre(attr);
}
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