Boost logo

Boost-Commit :

From: jefffaust_at_[hidden]
Date: 2007-05-25 08:15:40


Author: jefffaust
Date: 2007-05-25 08:15:40 EDT (Fri, 25 May 2007)
New Revision: 4242
URL: http://svn.boost.org/trac/boost/changeset/4242

Log:
Temporarily disable streaming C-arrays because of a VC7.1 conflict.

Text files modified:
   sandbox/explore/boost/explore/stream_container.hpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 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-25 08:15:40 EDT (Fri, 25 May 2007)
@@ -227,12 +227,12 @@
         return stream_container(ostr, m.begin(), m.end(), stream_map_value());
     }
 
- // stream c-array
- template<typename Elem, typename Tr, typename T, std::size_t size>
- std::basic_ostream<Elem, Tr>& operator<<(std::basic_ostream<Elem, Tr>& ostr, T (&a)[size])
- {
- return stream_container(ostr, &a[0], &a[size]);
- }
+ // stream c-array - conflicts with char* streaming in VC7.1
+ //template<typename Elem, typename Tr, typename T, std::size_t size>
+ //std::basic_ostream<Elem, Tr>& operator<<(std::basic_ostream<Elem, Tr>& ostr, T (&a)[size])
+ //{
+ // 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>


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