Boost logo

Boost-Commit :

From: jefffaust_at_[hidden]
Date: 2007-05-29 20:09:47


Author: jefffaust
Date: 2007-05-29 20:09:46 EDT (Tue, 29 May 2007)
New Revision: 4358
URL: http://svn.boost.org/trac/boost/changeset/4358

Log:
specify all template parameters for vector

Text files modified:
   sandbox/explore/boost/explore/stream_container.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 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-29 20:09:46 EDT (Tue, 29 May 2007)
@@ -218,8 +218,8 @@
 namespace std
 {
     // stream vector<T>
- template<typename Elem, typename Tr, typename T>
- std::basic_ostream<Elem, Tr>& operator<<(std::basic_ostream<Elem, Tr>& ostr, const std::vector<T>& v)
+ template<typename Elem, typename Tr, typename T, typename Allocator>
+ std::basic_ostream<Elem, Tr>& operator<<(std::basic_ostream<Elem, Tr>& ostr, const std::vector<T, Allocator>& v)
     {
         return explore::stream_container(ostr, v.begin(), v.end());
     }


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