|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55102 - trunk/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-22 21:28:42
Author: hkaiser
Date: 2009-07-22 21:28:41 EDT (Wed, 22 Jul 2009)
New Revision: 55102
URL: http://svn.boost.org/trac/boost/changeset/55102
Log:
Spirit: lists, kleene, plus, etc. now support any STL container (except map)
Text files modified:
trunk/boost/spirit/home/support/container.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/support/container.hpp
==============================================================================
--- trunk/boost/spirit/home/support/container.hpp (original)
+++ trunk/boost/spirit/home/support/container.hpp 2009-07-22 21:28:41 EDT (Wed, 22 Jul 2009)
@@ -163,7 +163,7 @@
template <typename Container, typename T>
inline void push_back(Container& c, T const& val)
{
- c.push_back(val);
+ c.insert(c.end(), val);
}
template <typename Container, typename T>
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