Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58272 - trunk/libs/spirit/example/qi
From: hartmut.kaiser_at_[hidden]
Date: 2009-12-10 14:54:19


Author: hkaiser
Date: 2009-12-10 14:54:18 EST (Thu, 10 Dec 2009)
New Revision: 58272
URL: http://svn.boost.org/trac/boost/changeset/58272

Log:
Spirit: fixed new example
Text files modified:
   trunk/libs/spirit/example/qi/boost_array.cpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/libs/spirit/example/qi/boost_array.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/boost_array.cpp (original)
+++ trunk/libs/spirit/example/qi/boost_array.cpp 2009-12-10 14:54:18 EST (Thu, 10 Dec 2009)
@@ -72,6 +72,11 @@
 namespace boost { namespace spirit { namespace traits
 {
     template <typename T, std::size_t N>
+ struct is_container<client::detail::adapt_array<boost::array<T, N> > >
+ : boost::mpl::true_
+ {};
+
+ template <typename T, std::size_t N>
     struct container_value<client::detail::adapt_array<boost::array<T, N> > >
     {
         typedef T type; // value type of container


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