Boost logo

Boost-Commit :

From: jefffaust_at_[hidden]
Date: 2007-05-24 20:57:16


Author: jefffaust
Date: 2007-05-24 20:57:16 EDT (Thu, 24 May 2007)
New Revision: 4233
URL: http://svn.boost.org/trac/boost/changeset/4233

Log:
commented-out boost.range support

Text files modified:
   sandbox/explore/boost/explore/stream_container.hpp | 7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)

Modified: sandbox/explore/boost/explore/stream_container.hpp
==============================================================================
--- sandbox/explore/boost/explore/stream_container.hpp (original)
+++ sandbox/explore/boost/explore/stream_container.hpp 2007-05-24 20:57:16 EDT (Thu, 24 May 2007)
@@ -234,6 +234,13 @@
         return stream_container(ostr, &a[0], &a[size]);
     }
 
+ // Boost.Range -- there is already a streaming operator defined, although it does not do what we want.
+ //template<typename Elem, typename Tr, typename Range>
+ //std::basic_ostream<Elem, Tr>& operator<<(std::basic_ostream<Elem, Tr>& ostr, boost::iterator_range<Range>& r)
+ //{
+ // return stream_container(ostr, boost::begin(r), boost::end(r));
+ //}
+
     // function ptr for separator manipulator
     template<typename Elem, typename Tr>
     void setSeparatorFn(std::basic_ostream<Elem, Tr>& ostr, const Elem* sep)


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