|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63093 - trunk/boost/spirit/home/support
From: joel_at_[hidden]
Date: 2010-06-19 01:30:25
Author: djowel
Date: 2010-06-19 01:30:24 EDT (Sat, 19 Jun 2010)
New Revision: 63093
URL: http://svn.boost.org/trac/boost/changeset/63093
Log:
Fix debug output for variants with one std container element.
Text files modified:
trunk/boost/spirit/home/support/attributes.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/support/attributes.hpp
==============================================================================
--- trunk/boost/spirit/home/support/attributes.hpp (original)
+++ trunk/boost/spirit/home/support/attributes.hpp 2010-06-19 01:30:24 EDT (Sat, 19 Jun 2010)
@@ -864,7 +864,8 @@
template <typename Out, typename T>
inline void print_attribute(Out& out, T const& val)
{
- detail::print_attribute_impl(out, val, is_container<T>());
+ detail::print_attribute_impl(out, val,
+ mpl::and_<is_container<T>, not_is_variant<T, void> >());
}
}}}
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