|
Boost-Commit : |
From: jmcintyre_at_[hidden]
Date: 2008-05-04 12:37:10
Author: jared
Date: 2008-05-04 12:37:09 EDT (Sun, 04 May 2008)
New Revision: 45113
URL: http://svn.boost.org/trac/boost/changeset/45113
Log:
change stream_map_value to stream_associative_value
Text files modified:
sandbox/explore/boost/explore/iterator_range.hpp | 2 +-
sandbox/explore/boost/explore/stream_container.hpp | 4 ++--
sandbox/explore/boost/explore/stream_value.hpp | 2 +-
sandbox/explore/libs/explore/doc/custom_containers.qbk | 2 +-
sandbox/explore/libs/explore/doc/html/boost_explore/tutorial/custom_containers.html | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
Modified: sandbox/explore/boost/explore/iterator_range.hpp
==============================================================================
--- sandbox/explore/boost/explore/iterator_range.hpp (original)
+++ sandbox/explore/boost/explore/iterator_range.hpp 2008-05-04 12:37:09 EDT (Sun, 04 May 2008)
@@ -25,7 +25,7 @@
{
iterator_range_wrapper(const boost::iterator_range<T>& ir) : t(ir) {}
boost::iterator_range<T> t;
- typedef typename boost::mpl::if_<typename is_assoc_iter<T>::type, stream_map_value, stream_normal_value>::type stream_type;
+ typedef typename boost::mpl::if_<typename is_assoc_iter<T>::type, stream_associative_value, stream_normal_value>::type stream_type;
};
template<typename T>
Modified: sandbox/explore/boost/explore/stream_container.hpp
==============================================================================
--- sandbox/explore/boost/explore/stream_container.hpp (original)
+++ sandbox/explore/boost/explore/stream_container.hpp 2008-05-04 12:37:09 EDT (Sun, 04 May 2008)
@@ -217,7 +217,7 @@
std::basic_ostream<Elem, Tr>& operator<<(std::basic_ostream<Elem, Tr>& ostr, const std::map<K, T, Compare, Allocator>& m)
{
using namespace explore;
- return stream_container(ostr, m.begin(), m.end(), stream_map_value());
+ return stream_container(ostr, m.begin(), m.end(), stream_associative_value());
}
// stream multimap<K, T>
@@ -225,7 +225,7 @@
std::basic_ostream<Elem, Tr>& operator<<(std::basic_ostream<Elem, Tr>& ostr, const std::multimap<K, T, Compare, Allocator>& m)
{
using namespace explore;
- return stream_container(ostr, m.begin(), m.end(), stream_map_value());
+ return stream_container(ostr, m.begin(), m.end(), stream_associative_value());
}
}
Modified: sandbox/explore/boost/explore/stream_value.hpp
==============================================================================
--- sandbox/explore/boost/explore/stream_value.hpp (original)
+++ sandbox/explore/boost/explore/stream_value.hpp 2008-05-04 12:37:09 EDT (Sun, 04 May 2008)
@@ -27,7 +27,7 @@
};
// stream value from associative container
- struct stream_map_value
+ struct stream_associative_value
{
template<typename Elem, typename Tr, typename T>
void operator()(std::basic_ostream<Elem, Tr>& ostr, const T& val, container_stream_state<Elem>* state)
Modified: sandbox/explore/libs/explore/doc/custom_containers.qbk
==============================================================================
--- sandbox/explore/libs/explore/doc/custom_containers.qbk (original)
+++ sandbox/explore/libs/explore/doc/custom_containers.qbk 2008-05-04 12:37:09 EDT (Sun, 04 May 2008)
@@ -55,7 +55,7 @@
std::ostream& operator<<(std::ostream& ostr, const user_vector& u)
{
- return explore::stream_container(ostr, u.begin(), u.end(), explore::stream_map_value());
+ return explore::stream_container(ostr, u.begin(), u.end(), explore::stream_associative_value());
}
[endsect]
Modified: sandbox/explore/libs/explore/doc/html/boost_explore/tutorial/custom_containers.html
==============================================================================
--- sandbox/explore/libs/explore/doc/html/boost_explore/tutorial/custom_containers.html (original)
+++ sandbox/explore/libs/explore/doc/html/boost_explore/tutorial/custom_containers.html 2008-05-04 12:37:09 EDT (Sun, 04 May 2008)
@@ -92,7 +92,7 @@
<pre class="programlisting">
<span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&</span> <span class="keyword">operator</span><span class="special"><<(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&</span> <span class="identifier">ostr</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">user_vector</span><span class="special">&</span> <span class="identifier">u</span><span class="special">)</span>
<span class="special">{</span>
- <span class="keyword">return</span> <span class="identifier">explore</span><span class="special">::</span><span class="identifier">stream_container</span><span class="special">(</span><span class="identifier">ostr</span><span class="special">,</span> <span class="identifier">u</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">u</span><span class="special">.</span><span class="identifier">end</span><span class="special">(),</span> <span class="identifier">explore</span><span class="special">::</span><span class="identifier">stream_map_value</span><span class="special">());</span>
+ <span class="keyword">return</span> <span class="identifier">explore</span><span class="special">::</span><span class="identifier">stream_container</span><span class="special">(</span><span class="identifier">ostr</span><span class="special">,</span> <span class="identifier">u</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">u</span><span class="special">.</span><span class="identifier">end</span><span class="special">(),</span> <span class="identifier">explore</span><span class="special">::</span><span class="identifier">stream_associative_value</span><span class="special">());</span>
<span class="special">}</span>
</pre>
</div>
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