|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58995 - in trunk/boost/spirit/home: karma karma/detail karma/stream/detail support/iterators
From: hartmut.kaiser_at_[hidden]
Date: 2010-01-13 22:44:31
Author: hkaiser
Date: 2010-01-13 22:44:30 EST (Wed, 13 Jan 2010)
New Revision: 58995
URL: http://svn.boost.org/trac/boost/changeset/58995
Log:
Spirit: added spirit::ostream_iterator
Added:
trunk/boost/spirit/home/support/iterators/ostream_iterator.hpp (contents, props changed)
Text files modified:
trunk/boost/spirit/home/karma/detail/output_iterator.hpp | 2 +-
trunk/boost/spirit/home/karma/stream.hpp | 2 +-
trunk/boost/spirit/home/karma/stream/detail/format_manip.hpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/spirit/home/karma/detail/output_iterator.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/detail/output_iterator.hpp (original)
+++ trunk/boost/spirit/home/karma/detail/output_iterator.hpp 2010-01-13 22:44:30 EST (Wed, 13 Jan 2010)
@@ -19,7 +19,7 @@
#include <boost/mpl/if.hpp>
#include <boost/spirit/home/karma/generator.hpp>
-#include <boost/spirit/home/karma/stream/ostream_iterator.hpp>
+#include <boost/spirit/home/support/iterators/ostream_iterator.hpp>
#include <boost/spirit/home/support/unused.hpp>
namespace boost { namespace spirit { namespace karma { namespace detail
Modified: trunk/boost/spirit/home/karma/stream.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/stream.hpp (original)
+++ trunk/boost/spirit/home/karma/stream.hpp 2010-01-13 22:44:30 EST (Wed, 13 Jan 2010)
@@ -10,7 +10,7 @@
#pragma once
#endif
-#include <boost/spirit/home/karma/stream/ostream_iterator.hpp>
+#include <boost/spirit/home/support/iterators/ostream_iterator.hpp>
#include <boost/spirit/home/karma/stream/stream.hpp>
#endif
Modified: trunk/boost/spirit/home/karma/stream/detail/format_manip.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/stream/detail/format_manip.hpp (original)
+++ trunk/boost/spirit/home/karma/stream/detail/format_manip.hpp 2010-01-13 22:44:30 EST (Wed, 13 Jan 2010)
@@ -13,7 +13,7 @@
#include <iterator>
#include <string>
#include <boost/spirit/home/karma/generate.hpp>
-#include <boost/spirit/home/karma/stream/ostream_iterator.hpp>
+#include <boost/spirit/home/support/iterators/ostream_iterator.hpp>
#include <boost/mpl/bool.hpp>
///////////////////////////////////////////////////////////////////////////////
Added: trunk/boost/spirit/home/support/iterators/ostream_iterator.hpp
==============================================================================
--- (empty file)
+++ trunk/boost/spirit/home/support/iterators/ostream_iterator.hpp 2010-01-13 22:44:30 EST (Wed, 13 Jan 2010)
@@ -0,0 +1,16 @@
+// Copyright (c) 2001-2010 Hartmut Kaiser
+//
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+#if !defined(BOOST_SPIRIT_OSTREAM_ITERATOR_JAN_13_2010_0211PM)
+#define BOOST_SPIRIT_OSTREAM_ITERATOR_JAN_13_2010_0211PM
+
+#include <boost/spirit/home/karma/stream/ostream_iterator.hpp>
+
+namespace boost { namespace spirit
+{
+ typedef karma::ostream_iterator<char, char> ostream_iterator;
+}}
+
+#endif
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