|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70216 - trunk/boost/spirit/home/support/utree
From: hartmut.kaiser_at_[hidden]
Date: 2011-03-19 22:26:59
Author: hkaiser
Date: 2011-03-19 22:26:58 EDT (Sat, 19 Mar 2011)
New Revision: 70216
URL: http://svn.boost.org/trac/boost/changeset/70216
Log:
Spirit: fixed utree handling for variant attributes
Text files modified:
trunk/boost/spirit/home/support/utree/utree_traits.hpp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/support/utree/utree_traits.hpp
==============================================================================
--- trunk/boost/spirit/home/support/utree/utree_traits.hpp (original)
+++ trunk/boost/spirit/home/support/utree/utree_traits.hpp 2011-03-19 22:26:58 EDT (Sat, 19 Mar 2011)
@@ -604,7 +604,13 @@
{};
template <typename Attribute>
- struct handles_utree_list_container<optional<Attribute> >
+ struct handles_utree_list_container<boost::optional<Attribute> >
+ : mpl::true_
+ {};
+
+ template <BOOST_VARIANT_ENUM_PARAMS(typename T)>
+ struct handles_utree_list_container<
+ boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> >
: mpl::true_
{};
}
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