|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84303 - in branches/release: boost/iostreams boost/iostreams/detail boost/iostreams/detail/config libs/iostreams libs/iostreams/doc libs/iostreams/doc/classes libs/iostreams/doc/concepts libs/iostreams/doc/functions libs/iostreams/doc/guide libs/iostreams/doc/tutorial libs/iostreams/test
From: dnljms_at_[hidden]
Date: 2013-05-16 18:10:17
Author: danieljames
Date: 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
New Revision: 84303
URL: http://svn.boost.org/trac/boost/changeset/84303
Log:
Merge iostreams to release. Fixes #8315, #8385, #8460.
Not merging the fallthrough macro, as config support hasn't been merged yet.
And not merging the build changes, as I don't know if they're ready.
Properties modified:
branches/release/boost/iostreams/ (props changed)
branches/release/libs/iostreams/ (props changed)
branches/release/libs/iostreams/test/windows_pipe_test.cpp (props changed)
Text files modified:
branches/release/boost/iostreams/detail/config/gcc.hpp | 3 +
branches/release/boost/iostreams/detail/select_by_size.hpp | 3 +
branches/release/boost/iostreams/tee.hpp | 16 ++++++++
branches/release/libs/iostreams/doc/classes/aggregate.html | 4 +-
branches/release/libs/iostreams/doc/classes/array.html | 12 +++---
branches/release/libs/iostreams/doc/classes/back_inserter.html | 8 ++--
branches/release/libs/iostreams/doc/classes/bzip2.html | 4 +-
branches/release/libs/iostreams/doc/classes/chain.html | 20 +++++-----
branches/release/libs/iostreams/doc/classes/code_converter.html | 10 ++--
branches/release/libs/iostreams/doc/classes/device.html | 4 +-
branches/release/libs/iostreams/doc/classes/file.html | 16 ++++----
branches/release/libs/iostreams/doc/classes/file_descriptor.html | 24 ++++++------
branches/release/libs/iostreams/doc/classes/filtering_stream.html | 39 +++++++++------------
branches/release/libs/iostreams/doc/classes/filtering_streambuf.html | 41 ++++++++++------------
branches/release/libs/iostreams/doc/classes/grep_filter.html | 4 +-
branches/release/libs/iostreams/doc/classes/gzip.html | 8 ++--
branches/release/libs/iostreams/doc/classes/line_filter.html | 6 +-
branches/release/libs/iostreams/doc/classes/mapped_file.html | 34 +++++++++---------
branches/release/libs/iostreams/doc/classes/regex_filter.html | 26 +++++++-------
branches/release/libs/iostreams/doc/classes/symmetric_filter.html | 20 +++++-----
branches/release/libs/iostreams/doc/classes/zlib.html | 8 ++--
branches/release/libs/iostreams/doc/concepts/input_filter.html | 4 +-
branches/release/libs/iostreams/doc/concepts/output_filter.html | 4 +-
branches/release/libs/iostreams/doc/concepts/sink.html | 4 +-
branches/release/libs/iostreams/doc/functions/close.html | 14 +++---
branches/release/libs/iostreams/doc/functions/combine.html | 2
branches/release/libs/iostreams/doc/functions/compose.html | 8 ++--
branches/release/libs/iostreams/doc/functions/copy.html | 2
branches/release/libs/iostreams/doc/functions/filter_test.html | 20 +++++-----
branches/release/libs/iostreams/doc/functions/flush.html | 8 ++--
branches/release/libs/iostreams/doc/functions/get.html | 10 ++--
branches/release/libs/iostreams/doc/functions/imbue.html | 2
branches/release/libs/iostreams/doc/functions/invert.html | 8 ++--
branches/release/libs/iostreams/doc/functions/optimal_buffer_size.html | 4 +-
branches/release/libs/iostreams/doc/functions/put.html | 8 ++--
branches/release/libs/iostreams/doc/functions/putback.html | 6 +-
branches/release/libs/iostreams/doc/functions/read.html | 14 +++---
branches/release/libs/iostreams/doc/functions/restrict.html | 8 ++--
branches/release/libs/iostreams/doc/functions/seek.html | 2
branches/release/libs/iostreams/doc/functions/tee.html | 18 +++++-----
branches/release/libs/iostreams/doc/functions/write.html | 18 +++++-----
branches/release/libs/iostreams/doc/guide/generic_streams.html | 72 ++++++++++++++++++++--------------------
branches/release/libs/iostreams/doc/guide/pipelines.html | 2
branches/release/libs/iostreams/doc/quick_reference.html | 10 ++--
branches/release/libs/iostreams/doc/tutorial/container_device.html | 22 ++++++------
branches/release/libs/iostreams/doc/tutorial/container_sink.html | 6 +-
branches/release/libs/iostreams/doc/tutorial/container_source.html | 6 +-
branches/release/libs/iostreams/doc/tutorial/dictionary_filters.html | 40 +++++++++++-----------
branches/release/libs/iostreams/doc/tutorial/dual_use_filters.html | 6 +-
branches/release/libs/iostreams/doc/tutorial/finite_state_filters.html | 30 ++++++++--------
branches/release/libs/iostreams/doc/tutorial/line_wrapping_filters.html | 26 +++++++-------
branches/release/libs/iostreams/doc/tutorial/multichar_filters.html | 14 +++---
branches/release/libs/iostreams/doc/tutorial/shell_comments_filters.html | 20 +++++-----
branches/release/libs/iostreams/doc/tutorial/tab_expanding_filters.html | 20 +++++-----
branches/release/libs/iostreams/doc/tutorial/unix2dos_filters.html | 16 ++++----
branches/release/libs/iostreams/doc/tutorial/writing_devices.html | 2
branches/release/libs/iostreams/test/restrict_test.cpp | 4 +-
branches/release/libs/iostreams/test/tee_test.cpp | 56 +++++++++++++++++++++++++++++++
58 files changed, 446 insertions(+), 380 deletions(-)
Modified: branches/release/boost/iostreams/detail/config/gcc.hpp
==============================================================================
--- branches/release/boost/iostreams/detail/config/gcc.hpp (original)
+++ branches/release/boost/iostreams/detail/config/gcc.hpp 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -19,6 +19,9 @@
#if defined(__GNUC__) && !defined(BOOST_INTEL)
# define BOOST_IOSTREAMS_GCC (__GNUC__ * 100 + __GNUC_MINOR__)
+# define BOOST_IOSTREAMS_GCC_WORKAROUND_GUARD 1
+#else
+# define BOOST_IOSTREAMS_GCC_WORKAROUND_GUARD 0
#endif
#endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_GCC_HPP_INCLUDED
Modified: branches/release/boost/iostreams/detail/select_by_size.hpp
==============================================================================
--- branches/release/boost/iostreams/detail/select_by_size.hpp (original)
+++ branches/release/boost/iostreams/detail/select_by_size.hpp 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -146,7 +146,8 @@
//----------Specializations of SELECT_BY_SIZE (outside main inclued guards)---//
-#if BOOST_SELECT_BY_SIZE_MAX_CASE > SELECT_BY_SIZE_MAX_SPECIALIZED
+#if defined(BOOST_SELECT_BY_SIZE_MAX_CASE) && \
+ BOOST_SELECT_BY_SIZE_MAX_CASE > SELECT_BY_SIZE_MAX_SPECIALIZED
#define BOOST_PP_LOCAL_MACRO(n) SELECT_BY_SIZE_SPEC(n)
#define BOOST_PP_LOCAL_LIMITS \
Modified: branches/release/boost/iostreams/tee.hpp
==============================================================================
--- branches/release/boost/iostreams/tee.hpp (original)
+++ branches/release/boost/iostreams/tee.hpp 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -204,10 +204,26 @@
};
template<typename Sink>
+tee_filter<Sink> tee(Sink& snk)
+{ return tee_filter<Sink>(snk); }
+
+template<typename Sink>
tee_filter<Sink> tee(const Sink& snk)
{ return tee_filter<Sink>(snk); }
template<typename Device, typename Sink>
+tee_device<Device, Sink> tee(Device& dev, Sink& sink)
+{ return tee_device<Device, Sink>(dev, sink); }
+
+template<typename Device, typename Sink>
+tee_device<Device, Sink> tee(const Device& dev, Sink& sink)
+{ return tee_device<Device, Sink>(dev, sink); }
+
+template<typename Device, typename Sink>
+tee_device<Device, Sink> tee(Device& dev, const Sink& sink)
+{ return tee_device<Device, Sink>(dev, sink); }
+
+template<typename Device, typename Sink>
tee_device<Device, Sink> tee(const Device& dev, const Sink& sink)
{ return tee_device<Device, Sink>(dev, sink); }
Modified: branches/release/libs/iostreams/doc/classes/aggregate.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/aggregate.html (original)
+++ branches/release/libs/iostreams/doc/classes/aggregate.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -63,7 +63,7 @@
<SPAN CLASS="keyword">virtual</SPAN> ~aggregate_filter();
<SPAN CLASS="omitted">...</SPAN>
<SPAN CLASS="keyword">private</SPAN>:
- <SPAN CLASS="keyword">virtual</SPAN> <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#do_filter">do_filter</A>(<SPAN CLASS="keyword">const</SPAN> vector_type& src, vector_type& dest) = 0;
+ <SPAN CLASS="keyword">virtual</SPAN> <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#do_filter">do_filter</A>(<SPAN CLASS="keyword">const</SPAN> vector_type& src, vector_type& dest) = 0;
};
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
@@ -90,7 +90,7 @@
<A NAME="do_filter"></A>
<H4><CODE>aggregate_filter::do_filter</CODE></H4>
-<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">virtual</SPAN> <SPAN CLASS="keyword">void</SPAN> <B>do_filter</B>(<SPAN CLASS="keyword">const</SPAN> vector_type& src, vector_type& dest) = 0;</PRE>
+<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">virtual</SPAN> <SPAN CLASS="keyword">void</SPAN> <B>do_filter</B>(<SPAN CLASS="keyword">const</SPAN> vector_type& src, vector_type& dest) = 0;</PRE>
<P>Reads unflitered characters from <CODE>src</CODE> and appends filtered characters to <CODE>dest</CODE>, returning after all the characters in <CODE>src</CODE> have been consumed.</P>
Modified: branches/release/libs/iostreams/doc/classes/array.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/array.html (original)
+++ branches/release/libs/iostreams/doc/classes/array.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -71,7 +71,7 @@
<SPAN CLASS="keyword">typedef</SPAN> Ch char_type;
<SPAN CLASS="keyword">typedef</SPAN> source_tag category;
- <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> <A CLASS="documented" HREF="#array_source_constructors">basic_array_source</A>(char_type (&)[N]);
+ <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> <A CLASS="documented" HREF="#array_source_constructors">basic_array_source</A>(char_type (&)[N]);
<A CLASS="documented" HREF="#array_source_constructors">basic_array_source</A>(<SPAN CLASS="keyword">const</SPAN> char_type* begin, <SPAN CLASS="keyword">const</SPAN> char_type* end);
<A CLASS="documented" HREF="#array_source_constructors">basic_array_source</A>(<SPAN CLASS="keyword">const</SPAN> char_type* begin, std::size_t length);
<SPAN CLASS="omitted">...</SPAN>
@@ -95,7 +95,7 @@
<A NAME="array_source_constructors"></A>
<H4><CODE>basic_array_source::basic_array_source</CODE></H4>
-<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> basic_array_source(char_type (&)[N]);
+<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> basic_array_source(char_type (&)[N]);
basic_array_source(<SPAN CLASS="keyword">const</SPAN> char_type* begin, <SPAN CLASS="keyword">const</SPAN> char_type* end);
basic_array_source(<SPAN CLASS="keyword">const</SPAN> char_type* begin, std::size_t length);</PRE>
@@ -118,7 +118,7 @@
<SPAN CLASS="keyword">typedef</SPAN> Ch char_type;
<SPAN CLASS="keyword">typedef</SPAN> sink_tag category;
- <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> <A CLASS="documented" HREF="#array_sink_constructors">basic_array_sink</A>(char_type (&)[N]);
+ <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> <A CLASS="documented" HREF="#array_sink_constructors">basic_array_sink</A>(char_type (&)[N]);
<A CLASS="documented" HREF="#array_sink_constructors">basic_array_sink</A>(char_type* begin, char_type* end);
<A CLASS="documented" HREF="#array_sink_constructors">basic_array_sink</A>(char_type* begin, std::size_t length);
@@ -143,7 +143,7 @@
<A NAME="array_sink_constructors"></A>
<H4><CODE>basic_array_sink::basic_array_sink</CODE></H4>
-<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> basic_array_sink(char_type (&)[N]);
+<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> basic_array_sink(char_type (&)[N]);
basic_array_sink(char_type* begin, char_type* end);
basic_array_sink(char_type* begin, std::size_t length);</PRE>
@@ -166,7 +166,7 @@
<SPAN CLASS="keyword">typedef</SPAN> Ch char_type;
<SPAN CLASS="keyword">typedef</SPAN> seekable_device_tag category;
- <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> <A CLASS="documented" HREF="#array_constructor">basic_array</A>(char_type (&)[N]);
+ <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> <A CLASS="documented" HREF="#array_constructor">basic_array</A>(char_type (&)[N]);
<A CLASS="documented" HREF="#array_constructor">basic_array</A>(char_type* begin, char_type* end);
<A CLASS="documented" HREF="#array_constructor">basic_array</A>(char_type* begin, std::size_t length);
@@ -191,7 +191,7 @@
<A NAME="array_constructor"></A>
<H4><CODE>array::array</CODE></H4>
-<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> basic_array(char_type (&)[N]);
+<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">int</SPAN> N> basic_array(char_type (&)[N]);
basic_array(char_type* begin, char_type* end);
basic_array(char_type* begin, std::size_t length);</PRE>
Modified: branches/release/libs/iostreams/doc/classes/back_inserter.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/back_inserter.html (original)
+++ branches/release/libs/iostreams/doc/classes/back_inserter.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -56,12 +56,12 @@
<SPAN CLASS="keyword">public</SPAN>:
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="keyword">typename</SPAN> Container::value_type char_type;
<SPAN CLASS="keyword">typedef</SPAN> sink_tag category;
- back_insert_device(Container& cnt);
+ back_insert_device(Container& cnt);
<SPAN CLASS="omitted">...</SPAN>
};
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Container>
-<A CLASS="documented" HREF="#back_insert_device_template_params">back_insert_device</A><Container> <A CLASS="documented" HREF="#back_inserter">back_inserter</A>(Container& cnt);
+<A CLASS="documented" HREF="#back_insert_device_template_params">back_insert_device</A><Container> <A CLASS="documented" HREF="#back_inserter">back_inserter</A>(Container& cnt);
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
@@ -79,7 +79,7 @@
<A NAME="back_insert_device_constructor"></A>
<H4><CODE>back_insert_device::back_insert_device</CODE></H4>
-<PRE CLASS="broken_ie"> back_insert_device(Container& cnt);</PRE>
+<PRE CLASS="broken_ie"> back_insert_device(Container& cnt);</PRE>
<P>Constructs an instance of <CODE>back_insert_device</CODE> for appending to the given container. The given reference must remain valid for the lifetime of the instance of <CODE>back_insert_device</CODE>.</P>
@@ -87,7 +87,7 @@
<H4><CODE>back_inserter</CODE></H4>
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Container>
-back_insert_device<Container> back_inserter(Container& cnt);</PRE>
+back_insert_device<Container> back_inserter(Container& cnt);</PRE>
<P>Returns an instance of <CODE>back_insert_device</CODE> for appending to the given container.</P>
Modified: branches/release/libs/iostreams/doc/classes/bzip2.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/bzip2.html (original)
+++ branches/release/libs/iostreams/doc/classes/bzip2.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -184,7 +184,7 @@
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="keyword">char</SPAN> char_type;
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="omitted">implementation-defined</SPAN> category;
- <A CLASS="documented" HREF="#basic_bzip2_compressor_constructors">basic_bzip2_compressor</A>( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#bzip2_params">bzip2_params</A>& = <SPAN CLASS="omitted">bzip2::default_block_size</SPAN>,
+ <A CLASS="documented" HREF="#basic_bzip2_compressor_constructors">basic_bzip2_compressor</A>( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#bzip2_params">bzip2_params</A>& = <SPAN CLASS="omitted">bzip2::default_block_size</SPAN>,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN> );
<SPAN CLASS="omitted">...</SPAN>
};
@@ -205,7 +205,7 @@
<A NAME="basic_bzip2_compressor_constructors"></A>
<H4><CODE>basic_bzip2_compressor::basic_bzip2_compressor</CODE></H4>
-<PRE CLASS="broken_ie"> basic_bzip2_compressor(<SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#bzip2_params">bzip2_params</A>&, std::streamsize buffer_size);</PRE>
+<PRE CLASS="broken_ie"> basic_bzip2_compressor(<SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#bzip2_params">bzip2_params</A>&, std::streamsize buffer_size);</PRE>
<P>Constructs an instance of <CODE>basic_bzip2_compressor</CODE> with the given parameters and buffer size. Since a <A CLASS="documented" HREF="#bzip2_params"><CODE>bzip2_params</CODE></A> object is implicitly constructible from an <CODE>int</CODE> representing a block size, an <CODE>int</CODE> may be passed as the first constructor argument.</P>
Modified: branches/release/libs/iostreams/doc/classes/chain.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/chain.html (original)
+++ branches/release/libs/iostreams/doc/classes/chain.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -75,24 +75,24 @@
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="omitted">implementation-defined</SPAN> size_type;
<A CLASS="documented" HREF="#default_constructor">chain</A>();
- <A CLASS="documented" HREF="#copy_constructor">chain</A>(<SPAN CLASS='keyword'>const</SPAN> chain&);
+ <A CLASS="documented" HREF="#copy_constructor">chain</A>(<SPAN CLASS='keyword'>const</SPAN> chain&);
std::streamsize <A CLASS='documented' HREF='#read'>read</A>(char_type* s, std::streamsize n);
std::streamsize <A CLASS='documented' HREF='#write'>write</A>(<SPAN CLASS='keyword'>const</SPAN> char_type* s, std::streamsize n);
<A CLASS='documented' HREF='../functions/positioning.html#synopsis'>stream_offset</A> <A CLASS='documented' HREF='#seek'>seek</A>(<A CLASS='documented' HREF='../functions/positioning.html#synopsis'>stream_offset</A> off, std::ios_base::seekdir way);
- <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
+ <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> T>
T* <A CLASS='documented' HREF='#component'>component</A>(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#policy_push">push</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#policy_push">push</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default value</SPAN> );
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> StreamOrStreambuf>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_push">push</A>( StreamOrStreambuf& t,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_push">push</A>( StreamOrStreambuf& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default value</SPAN> );
@@ -109,7 +109,7 @@
<SPAN CLASS='comment'>// Deprecated members</SPAN>
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>int</SPAN> N>
- <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>() <SPAN CLASS='keyword'>const</SPAN>;
+ <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>() <SPAN CLASS='keyword'>const</SPAN>;
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>int</SPAN> N, <SPAN CLASS='keyword'>typename</SPAN> T>
T* <A CLASS='documented' HREF='#component'>component</A>() <SPAN CLASS='keyword'>const</SPAN>;
@@ -155,7 +155,7 @@
<A NAME="copy_constructor"></A>
<H4><CODE>chain::chain</CODE></H4>
-<PRE CLASS="broken_ie"> chain(<SPAN CLASS='keyword'>const</SPAN> chain& rhs);</PRE>
+<PRE CLASS="broken_ie"> chain(<SPAN CLASS='keyword'>const</SPAN> chain& rhs);</PRE>
<P>
Constructs a <CODE>chain</CODE> representing the same sequence of Filters and Devices as the given chain.
@@ -192,7 +192,7 @@
<A NAME="component_type"></A>
<H4><CODE>chain::component_type</CODE></H4>
-<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
+<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
</PRE>
<P>
@@ -201,7 +201,7 @@
<PRE CLASS="broken_ie"> <SPAN CLASS='comment'>// Deprecated</SPAN>
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>int</SPAN> N>
- <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type() <SPAN CLASS='keyword'>const</SPAN>;
+ <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type() <SPAN CLASS='keyword'>const</SPAN>;
</PRE>
<P>
@@ -241,7 +241,7 @@
<A NAME="policy_push"></A>
<H4><CODE>chain::push</CODE></H4>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
- void push( <SPAN CLASS="keyword">const</SPAN> T& t,
+ void push( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
<P>
@@ -281,7 +281,7 @@
<A NAME="stream_push"></A>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> StreamOrStreambuffer>
- void push( StreamOrStreambuffer& t,
+ void push( StreamOrStreambuffer& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
Modified: branches/release/libs/iostreams/doc/classes/code_converter.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/code_converter.html (original)
+++ branches/release/libs/iostreams/doc/classes/code_converter.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -76,8 +76,8 @@
int buffer_size = <SPAN CLASS="omitted">default_value</SPAN> );
<SPAN CLASS="keyword">bool</SPAN> <A CLASS="documented" HREF="#is_open">is_open</A>() <SPAN CLASS="keyword">const</SPAN>;
<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close">close</A>();
- std::locale <A CLASS="documented" HREF="#imbue">imbue</A>(<SPAN CLASS="keyword">const</SPAN> std::locale& loc);
- Device& <A CLASS="documented" HREF="#operator_star">operator*</A>();
+ std::locale <A CLASS="documented" HREF="#imbue">imbue</A>(<SPAN CLASS="keyword">const</SPAN> std::locale& loc);
+ Device& <A CLASS="documented" HREF="#operator_star">operator*</A>();
Device* <A CLASS="documented" HREF="#operator_arrow">operator-></A>();
};
@@ -130,7 +130,7 @@
<A NAME="imbue"></A>
<H4><CODE>code_converter::imbue</CODE></H4>
-<PRE CLASS="broken_ie"> std::locale imbue(<SPAN CLASS="keyword">const</SPAN> std::locale& loc);</PRE>
+<PRE CLASS="broken_ie"> std::locale imbue(<SPAN CLASS="keyword">const</SPAN> std::locale& loc);</PRE>
<P>
Used to specify a locale from which a <CODE>std::codecvt</CODE> facet will be fetched to perform code conversion. The effect of invoking imbue while code conversion is in progress is undefined.
@@ -143,7 +143,7 @@
<A NAME="open"></A>
<H4><CODE>code_converter::open</CODE></H4>
-<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">const</SPAN> Device& dev,
+<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">const</SPAN> Device& dev,
std::streamsize buffer_size = <SPAN CLASS="omitted">default_value</SPAN> );
<SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="omitted">device-constructor-args</SPAN>,
std::streamsize buffer_size = <SPAN CLASS="omitted">default_value</SPAN> );<br></PRE>
@@ -174,7 +174,7 @@
<A NAME="operator_star"></A>
<H4><CODE>code_converter::operator*</CODE></H4>
-<PRE CLASS="broken_ie"> Device& operator*();</PRE>
+<PRE CLASS="broken_ie"> Device& operator*();</PRE>
<P>
Returns a reference to the instance of Device associated with this instance of <CODE>code_converter</CODE>, which must be open.
Modified: branches/release/libs/iostreams/doc/classes/device.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/device.html (original)
+++ branches/release/libs/iostreams/doc/classes/device.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -64,7 +64,7 @@
<SPAN CLASS="keyword">typedef</SPAN> <A STYLE="text-decoration:none" HREF="#category"><SPAN CLASS="omitted">see below</SPAN></A> category;
<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close">close</A>();
<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close">close</A>(std::ios_base::openmode);
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#imbue">imbue</A>(<SPAN CLASS="keyword">const</SPAN> std::locale&);
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#imbue">imbue</A>(<SPAN CLASS="keyword">const</SPAN> std::locale&);
};
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
@@ -107,7 +107,7 @@
<A NAME="imbue"></A>
<H4><CODE>device::imbue</CODE></H4>
-<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#imbue">imbue</A>(<SPAN CLASS="keyword">const</SPAN> std::locale&);</PRE>
+<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#imbue">imbue</A>(<SPAN CLASS="keyword">const</SPAN> std::locale&);</PRE>
<P>
Implemented as a no-op. Required by Localizable.
Modified: branches/release/libs/iostreams/doc/classes/file.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/file.html (original)
+++ branches/release/libs/iostreams/doc/classes/file.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -67,7 +67,7 @@
<SPAN CLASS="keyword">public</SPAN>:
<SPAN CLASS="keyword">typedef</SPAN> Ch char_type;
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="omitted">implementation-defined</SPAN> category;
- <A CLASS="documented" HREF="#basic_file_source_constructor">basic_file_source</A>( <SPAN CLASS="keyword">const</SPAN> std::string& path,
+ <A CLASS="documented" HREF="#basic_file_source_constructor">basic_file_source</A>( <SPAN CLASS="keyword">const</SPAN> std::string& path,
std::ios_base::openmode mode =
std::ios_base::in );
<SPAN CLASS="keyword">bool</SPAN> <A CLASS="documented" HREF="#basic_file_source_is_open">is_open</A>() <SPAN CLASS="keyword">const</SPAN>;
@@ -92,13 +92,13 @@
<A NAME="basic_file_source_constructor"></A>
<H4><CODE>basic_file_source::basic_file_source</CODE></H4>
-<PRE CLASS="broken_ie"> basic_file_source( <SPAN CLASS="keyword">const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> basic_file_source( <SPAN CLASS="keyword">const</SPAN> std::string& path,
std::ios_base::openmode mode );</PRE>
<P>
Constructs a <CODE>basic_file_source</CODE> which wraps a <CODE>std::basic_filebuf</CODE> <CODE>buf</CODE> opened as follows:
<PRE CLASS="broken_ie"> mode |= std::ios_base::in;
- mode &= ~std::ios_base::out;
+ mode &= ~std::ios_base::out;
buf.open(path.c_str(), mode);</PRE>
</P>
@@ -128,7 +128,7 @@
<SPAN CLASS="keyword">public</SPAN>:
<SPAN CLASS="keyword">typedef</SPAN> Ch char_type;
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="omitted">implementation-defined</SPAN> category;
- <A CLASS="documented" HREF="#basic_file_sink_constructor">basic_file_sink</A>( <SPAN CLASS="keyword">const</SPAN> std::string& path,
+ <A CLASS="documented" HREF="#basic_file_sink_constructor">basic_file_sink</A>( <SPAN CLASS="keyword">const</SPAN> std::string& path,
std::ios_base::openmode mode =
std::ios_base::out );
<SPAN CLASS="keyword">bool</SPAN> <A CLASS="documented" HREF="#basic_file_sink_is_open">is_open</A>() <SPAN CLASS="keyword">const</SPAN>;
@@ -153,13 +153,13 @@
<A NAME="basic_file_sink_constructor"></A>
<H4><CODE>basic_file_sink::basic_file_sink</CODE></H4>
-<PRE CLASS="broken_ie"> basic_file_sink( <SPAN CLASS="keyword">const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> basic_file_sink( <SPAN CLASS="keyword">const</SPAN> std::string& path,
std::ios_base::openmode mode );</PRE>
<P>
Constructs a <CODE>basic_file_sink</CODE> which wraps a <CODE>std::basic_filebuf</CODE> <CODE>buf</CODE> opened as follows:
<PRE CLASS="broken_ie"> mode |= std::ios_base::out;
- mode &= ~std::ios_base::in;
+ mode &= ~std::ios_base::in;
buf.open(path.c_str(), mode);</PRE>
</P>
@@ -187,7 +187,7 @@
<SPAN CLASS="keyword">public</SPAN>:
<SPAN CLASS="keyword">typedef</SPAN> Ch char_type;
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="omitted">implementation-defined</SPAN> category;
- <A CLASS="documented" HREF="#basic_file_constructor">basic_file</A>( <SPAN CLASS="keyword">const</SPAN> std::string& path,
+ <A CLASS="documented" HREF="#basic_file_constructor">basic_file</A>( <SPAN CLASS="keyword">const</SPAN> std::string& path,
std::ios_base::openmode mode =
std::ios_base::in | std::ios_base::out );
<SPAN CLASS="keyword">bool</SPAN> <A CLASS="documented" HREF="#basic_file_is_open">is_open</A>() <SPAN CLASS="keyword">const</SPAN>;
@@ -212,7 +212,7 @@
<A NAME="basic_file_constructor"></A>
<H4><CODE>basic_file_::basic_file</CODE></H4>
-<PRE CLASS="broken_ie"> basic_file( <SPAN CLASS="keyword">const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> basic_file( <SPAN CLASS="keyword">const</SPAN> std::string& path,
std::ios_base::openmode mode );</PRE>
<P>
Modified: branches/release/libs/iostreams/doc/classes/file_descriptor.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/file_descriptor.html (original)
+++ branches/release/libs/iostreams/doc/classes/file_descriptor.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -109,7 +109,7 @@
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='omitted'>[implementation-defined]</SPAN> category;
<A CLASS="documented" HREF="#file_descriptor_source_ctor">file_descriptor_source</A>();
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- <A CLASS="documented" HREF="#file_descriptor_source_ctor">file_descriptor_source</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ <A CLASS="documented" HREF="#file_descriptor_source_ctor">file_descriptor_source</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::in );
<A CLASS="documented" HREF="#file_descriptor_source_ctor">file_descriptor_source</A>( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -124,7 +124,7 @@
<A CLASS="documented" HREF="#file_descriptor_source_ctor">file_descriptor_source</A>( HANDLE hFile, <SPAN CLASS="keyword">bool</SPAN> close_on_exit = <SPAN CLASS="keyword">false</SPAN> );
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#file_descriptor_source_open">open</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#file_descriptor_source_open">open</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::in );
<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#file_descriptor_source_open">open</A>( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -150,7 +150,7 @@
<PRE CLASS="broken_ie"> file_descriptor_source();
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- file_descriptor_source( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ file_descriptor_source( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::in );
file_descriptor_source( <SPAN CLASS="keyword">int </SPAN>fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -191,7 +191,7 @@
<H4><CODE>file_descriptor_source::open</CODE></H4>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- <SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ <SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::in );
<SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -248,7 +248,7 @@
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='omitted'>[implementation-defined]</SPAN> category;
<A CLASS="documented" HREF="#file_descriptor_sink_ctor">file_descriptor_sink</A>();
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- <A CLASS="documented" HREF="#file_descriptor_sink_ctor">file_descriptor_sink</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ <A CLASS="documented" HREF="#file_descriptor_sink_ctor">file_descriptor_sink</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::out );
<A CLASS="documented" HREF="#file_descriptor_sink_ctor">file_descriptor_sink</A>( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -263,7 +263,7 @@
<A CLASS="documented" HREF="#file_descriptor_sink_ctor">file_descriptor_sink</A>( HANDLE hFile, <SPAN CLASS="keyword">bool</SPAN> close_on_exit = <SPAN CLASS="keyword">false</SPAN> );
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#file_descriptor_sink_open">open</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#file_descriptor_sink_open">open</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::out );
<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#file_descriptor_sink_open">open</A>( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -289,7 +289,7 @@
<PRE CLASS="broken_ie"> file_descriptor_sink();
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- file_descriptor_sink( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ file_descriptor_sink( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::out );
file_descriptor_sink( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -331,7 +331,7 @@
<H4><CODE>file_descriptor_sink::open</CODE></H4>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- <SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ <SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::out );
<SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -388,7 +388,7 @@
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='omitted'>[implementation-defined]</SPAN> category;
<A CLASS="documented" HREF="#file_descriptor_constructor">file_descriptor</A>();
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- <A CLASS="documented" HREF="#file_descriptor_constructor">file_descriptor</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ <A CLASS="documented" HREF="#file_descriptor_constructor">file_descriptor</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::in | std::ios_base::out );
<A CLASS="documented" HREF="#file_descriptor_constructor">file_descriptor</A>( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -403,7 +403,7 @@
<A CLASS="documented" HREF="#file_descriptor_constructor">file_descriptor</A>( HANDLE hFile, <SPAN CLASS="keyword">bool</SPAN> close_on_exit = <SPAN CLASS="keyword">false</SPAN> );
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#file_descriptor_open">open</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#file_descriptor_open">open</A>( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::in | std::ios_base::out );
<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#file_descriptor_open">open</A>( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -429,7 +429,7 @@
<PRE CLASS="broken_ie"> file_descriptor();
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- file_descriptor( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ file_descriptor( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::in | std::ios_base::out );
file_descriptor( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
@@ -471,7 +471,7 @@
<H4><CODE>file_descriptor::open</CODE></H4>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Path>
- <SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
+ <SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">const</SPAN> Path& pathname,
std::ios_base::open_mode mode =
std::ios_base::in | std::ios_base::out );
<SPAN CLASS="keyword">void</SPAN> open( <SPAN CLASS="keyword">int</SPAN> fd, <SPAN CLASS="keyword">file_descriptor_flags</SPAN> );
Modified: branches/release/libs/iostreams/doc/classes/filtering_stream.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/filtering_stream.html (original)
+++ branches/release/libs/iostreams/doc/classes/filtering_stream.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -82,27 +82,27 @@
<A CLASS="documented" HREF="#default_ctor">filtering_stream</A>();
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
- <A CLASS="documented" HREF="#policy_ctor">filtering_stream</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
+ <A CLASS="documented" HREF="#policy_ctor">filtering_stream</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default value</SPAN> );
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> StreamOrStreambuf>
- <A CLASS="documented" HREF="#stream_ctor">filtering_stream</A>( StreamOrStreambuf& t,
+ <A CLASS="documented" HREF="#stream_ctor">filtering_stream</A>( StreamOrStreambuf& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default value</SPAN> );
- <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
+ <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> T>
T* <A CLASS='documented' HREF='#component'>component</A>(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#policy_push">push</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#policy_push">push</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default value</SPAN> );
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> StreamOrStreambuf>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_push">push</A>( StreamOrStreambuf& t,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_push">push</A>( StreamOrStreambuf& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default value</SPAN> );
<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#pop">pop</A>();
@@ -118,7 +118,7 @@
<SPAN CLASS='comment'>// Deprecated members</SPAN>
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>int</SPAN> N>
- <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>() <SPAN CLASS='keyword'>const</SPAN>;
+ <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>() <SPAN CLASS='keyword'>const</SPAN>;
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>int</SPAN> N, <SPAN CLASS='keyword'>typename</SPAN> T>
T* <A CLASS='documented' HREF='#component'>component</A>() <SPAN CLASS='keyword'>const</SPAN>;
@@ -133,7 +133,6 @@
<H4>Template parameters</H4>
<TABLE STYLE="margin-left:2em" BORDER=0 CELLPADDING=2>
-<TR>
<TR>
<TD VALIGN="top"><I>Mode</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
<TD>A mode tag.</TD>
@@ -166,9 +165,9 @@
</P>
<A NAME="policy_ctor"></A>
-<H4><CODE>filtering_stream::push</CODE></H4>
+<H4><CODE>filtering_stream::filtering_stream</CODE></H4>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
- filtering_stream( <SPAN CLASS="keyword">const</SPAN> T& t,
+ filtering_stream( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
<P>
@@ -176,7 +175,6 @@
</P>
<TABLE STYLE="margin-left:2em" BORDER=0 CELLPADDING=2 ID="Table1">
-<TR>
<TR>
<TD VALIGN="top"><I>T</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
<TD>A CopyConstructible model of one of the Filter or Device concepts whose character type is Ch
and whose mode refines Mode
</TD>
@@ -191,7 +189,7 @@
</TR>
<TR>
<TD VALIGN="top"><I>pback_size</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
- <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of <A HREF="../guide/modes.html#input"><CODE>input</CODE></TD>
+ <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of input
</TD>
</TR>
</TABLE>
@@ -208,7 +206,7 @@
<A NAME="stream_ctor"></A>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> StreamOrStreambuffer>
- filering_stream( StreamOrStreambuffer& t,
+ filering_stream( StreamOrStreambuffer& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
@@ -217,7 +215,6 @@
</P>
<TABLE STYLE="margin-left:2em" BORDER=0 CELLPADDING=2 ID="Table2">
-<TR>
<TR>
<TD VALIGN="top"><I>StreamOrStreambuffer</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
<TD>A standard stream or stream buffer type whose character type is Ch
and whose mode refines Mode
</TD>
@@ -228,7 +225,7 @@
</TR>
<TR>
<TD VALIGN="top"><I>pback_size</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
- <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of <A HREF="../guide/modes.html#input"><CODE>input</CODE></TD>
+ <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of input
</TD>
</TR>
</TABLE>
@@ -239,7 +236,7 @@
<A NAME="component_type"></A>
<H4><CODE>filtering_stream::component_type</CODE></H4>
-<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
+<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
</PRE>
<P>
@@ -248,7 +245,7 @@
<PRE CLASS="broken_ie"> <SPAN CLASS='comment'>// Deprecated</SPAN>
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>int</SPAN> N>
- <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type() <SPAN CLASS='keyword'>const</SPAN>;
+ <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type() <SPAN CLASS='keyword'>const</SPAN>;
</PRE>
<P>
@@ -288,7 +285,7 @@
<A NAME="policy_push"></A>
<H4><CODE>filtering_stream::push</CODE></H4>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
- void push( <SPAN CLASS="keyword">const</SPAN> T& t,
+ void push( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
<P>
@@ -296,7 +293,6 @@
</P>
<TABLE STYLE="margin-left:2em" BORDER=0 CELLPADDING=2 ID="Table3">
-<TR>
<TR>
<TD VALIGN="top"><I>T</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
<TD>A CopyConstructible model of one of the Filter or Device concepts whose character type is Ch
and whose mode refines Mode
</TD>
@@ -311,7 +307,7 @@
</TR>
<TR>
<TD VALIGN="top"><I>pback_size</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
- <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of <A HREF="../guide/modes.html#input"><CODE>input</CODE></TD>
+ <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of input
</TD>
</TR>
</TABLE>
@@ -328,7 +324,7 @@
<A NAME="stream_push"></A>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> StreamOrStreambuffer>
- void push( StreamOrStreambuffer& t,
+ void push( StreamOrStreambuffer& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
@@ -337,7 +333,6 @@
</P>
<TABLE STYLE="margin-left:2em" BORDER=0 CELLPADDING=2 ID="Table4">
-<TR>
<TR>
<TD VALIGN="top"><I>StreamOrStreambuffer</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
<TD>A standard stream or stream buffer type whose character type is Ch
and whose mode refines Mode
</TD>
@@ -348,7 +343,7 @@
</TR>
<TR>
<TD VALIGN="top"><I>pback_size</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
- <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of <A HREF="../guide/modes.html#input"><CODE>input</CODE></TD>
+ <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of input
</TD>
</TR>
</TABLE>
Modified: branches/release/libs/iostreams/doc/classes/filtering_streambuf.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/filtering_streambuf.html (original)
+++ branches/release/libs/iostreams/doc/classes/filtering_streambuf.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -78,27 +78,27 @@
<A CLASS="documented" HREF="#default_ctor">filtering_streambuf</A>();
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
- <A CLASS="documented" HREF="#policy_ctor">filtering_streambuf</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
+ <A CLASS="documented" HREF="#policy_ctor">filtering_streambuf</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default value</SPAN> );
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> StreamOrStreambuf>
- <A CLASS="documented" HREF="#stream_ctor">filtering_streambuf</A>( StreamOrStreambuf& t,
+ <A CLASS="documented" HREF="#stream_ctor">filtering_streambuf</A>( StreamOrStreambuf& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default value</SPAN> );
- <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
+ <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> T>
T* <A CLASS='documented' HREF='#component'>component</A>(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#policy_push">push</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#policy_push">push</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default value</SPAN> );
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> StreamOrStreambuf>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_push">push</A>( StreamOrStreambuf& t,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_push">push</A>( StreamOrStreambuf& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default value</SPAN> );
<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#pop">pop</A>();
@@ -114,7 +114,7 @@
<SPAN CLASS='comment'>// Deprecated members</SPAN>
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>int</SPAN> N>
- <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>() <SPAN CLASS='keyword'>const</SPAN>;
+ <SPAN CLASS='keyword'>const</SPAN> std::type_info& <A CLASS='documented' HREF='#component_type'>component_type</A>() <SPAN CLASS='keyword'>const</SPAN>;
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>int</SPAN> N, <SPAN CLASS='keyword'>typename</SPAN> T>
T* <A CLASS='documented' HREF='#component'>component</A>() <SPAN CLASS='keyword'>const</SPAN>;
@@ -129,7 +129,6 @@
<H4>Template parameters</H4>
<TABLE STYLE="margin-left:2em" BORDER=0 CELLPADDING=2>
-<TR>
<TR>
<TD VALIGN="top"><I>Mode</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
<TD>A mode tag.</TD>
@@ -148,7 +147,7 @@
</TR>
<TR>
<TD VALIGN="top"><I>Access</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
- <TD>One of <CODE>public_</CODE> or <CODE>protected_</CODE>, indicating the level of access of the chain interface. Used to hide the chain interface when defining a derived class of <CODE>filtering_streambuf</CODE></TD>
+ <TD>One of <CODE>public_</CODE> or <CODE>protected_</CODE>, indicating the level of access of the chain interface. Used to hide the chain interface when defining a derived class of <CODE>filtering_streambuf</CODE></A></TD>
</TR>
</TABLE>
@@ -162,9 +161,9 @@
</P>
<A NAME="policy_ctor"></A>
-<H4><CODE>filtering_streambuf::push</CODE></H4>
+<H4><CODE>filtering_streambuf::filtering_streambuf</CODE></H4>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
- filtering_streambuf( <SPAN CLASS="keyword">const</SPAN> T& t,
+ filtering_streambuf( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
<P>
@@ -172,7 +171,6 @@
</P>
<TABLE STYLE="margin-left:2em" BORDER=0 CELLPADDING=2 ID="Table1">
-<TR>
<TR>
<TD VALIGN="top"><I>T</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
<TD>A CopyConstructible model of one of the Filter or Device concepts whose character type is Ch
and whose mode refines Mode
</TD>
@@ -187,7 +185,7 @@
</TR>
<TR>
<TD VALIGN="top"><I>pback_size</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
- <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of <A HREF="../guide/modes.html#input"><CODE>input</CODE></TD>
+ <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of input
</TD>
</TR>
</TABLE>
@@ -204,7 +202,7 @@
<A NAME="stream_ctor"></A>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> StreamOrStreambuffer>
- filtering_streambuf( StreamOrStreambuffer& t,
+ filtering_streambuf( StreamOrStreambuffer& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
@@ -213,7 +211,6 @@
</P>
<TABLE STYLE="margin-left:2em" BORDER=0 CELLPADDING=2 ID="Table2">
-<TR>
<TR>
<TD VALIGN="top"><I>StreamOrStreambuffer</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
<TD>A standard stream or stream buffer type whose character type is Ch
and whose mode refines Mode
</TD>
@@ -224,7 +221,7 @@
</TR>
<TR>
<TD VALIGN="top"><I>pback_size</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
- <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of <A HREF="../guide/modes.html#input"><CODE>input</CODE></TD>
+ <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of input
</TD>
</TR>
</TABLE>
@@ -235,7 +232,7 @@
<A NAME="component_type"></A>
<H4><CODE>filtering_streambuf::component_type</CODE></H4>
-<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
+<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type(<SPAN CLASS="keyword">int</SPAN> n) <SPAN CLASS='keyword'>const</SPAN>;
</PRE>
<P>
@@ -244,7 +241,7 @@
<PRE CLASS="broken_ie"> <SPAN CLASS='comment'>// Deprecated</SPAN>
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>int</SPAN> N>
- <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type() <SPAN CLASS='keyword'>const</SPAN>;
+ <SPAN CLASS='keyword'>const</SPAN> std::type_info& component_type() <SPAN CLASS='keyword'>const</SPAN>;
</PRE>
<P>
@@ -284,7 +281,7 @@
<A NAME="policy_push"></A>
<H4><CODE>filtering_streambuf::push</CODE></H4>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
- void push( <SPAN CLASS="keyword">const</SPAN> T& t,
+ void push( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
<P>
@@ -292,7 +289,6 @@
</P>
<TABLE STYLE="margin-left:2em" BORDER=0 CELLPADDING=2 ID="Table3">
-<TR>
<TR>
<TD VALIGN="top"><I>T</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
<TD>A CopyConstructible model of one of the Filter or Device concepts whose character type is Ch
and whose mode refines Mode
</TD>
@@ -307,7 +303,7 @@
</TR>
<TR>
<TD VALIGN="top"><I>pback_size</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
- <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of <A HREF="../guide/modes.html#input"><CODE>input</CODE></TD>
+ <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of input
</TD>
</TR>
</TABLE>
@@ -324,7 +320,7 @@
<A NAME="stream_push"></A>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> StreamOrStreambuffer>
- void push( StreamOrStreambuffer& t,
+ void push( StreamOrStreambuffer& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
@@ -333,7 +329,6 @@
</P>
<TABLE STYLE="margin-left:2em" BORDER=0 CELLPADDING=2 ID="Table4">
-<TR>
<TR>
<TD VALIGN="top"><I>StreamOrStreambuffer</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
<TD>A standard stream or stream buffer type whose character type is Ch
and whose mode refines Mode
</TD>
@@ -344,7 +339,7 @@
</TR>
<TR>
<TD VALIGN="top"><I>pback_size</I></TD><TD WIDTH="2em" VALIGN="top">-</TD>
- <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of <A HREF="../guide/modes.html#input"><CODE>input</CODE></TD>
+ <TD>The size of the putback buffer, relevant only if <CODE>Mode</CODE> is a refinement of input
</TD>
</TR>
</TABLE>
Modified: branches/release/libs/iostreams/doc/classes/grep_filter.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/grep_filter.html (original)
+++ branches/release/libs/iostreams/doc/classes/grep_filter.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -72,7 +72,7 @@
<SPAN CLASS="keyword">typename</SPAN> Alloc = std::allocator<Ch> >
<SPAN CLASS="keyword">class</SPAN> basic_grep_filter {
<SPAN CLASS="keyword">public:</SPAN>
- <A CLASS="documented" HREF="#constructor">basic_grep_filter</A>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
+ <A CLASS="documented" HREF="#constructor">basic_grep_filter</A>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
regex_constants::match_flag_type flags =
regex_constants::match_default,
<SPAN CLASS="keyword">int</SPAN> options = <SPAN CLASS="numeric_literal">0</SPAN> );
@@ -106,7 +106,7 @@
<A NAME="constructor"></A>
<H4><CODE>basic_grep_filter::basic_grep_filter</CODE></H4>
-<PRE CLASS="broken_ie"> <B>basic_grep_filter</B>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
+<PRE CLASS="broken_ie"> <B>basic_grep_filter</B>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
regex_constants::match_flag_type flags =
regex_constants::match_default,
<SPAN CLASS="keyword">int</SPAN> options = <SPAN CLASS="numeric_literal">0</SPAN> );</PRE>
Modified: branches/release/libs/iostreams/doc/classes/gzip.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/gzip.html (original)
+++ branches/release/libs/iostreams/doc/classes/gzip.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -216,7 +216,7 @@
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="keyword">char</SPAN> char_type;
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="omitted">implementation-defined</SPAN> category;
- <A CLASS="documented" HREF="#basic_gzip_compressor_ctors">basic_gzip_compressor</A>( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#gzip_params">gzip_params</A>& = <SPAN CLASS="omitted">zlib::default_compression</SPAN>,
+ <A CLASS="documented" HREF="#basic_gzip_compressor_ctors">basic_gzip_compressor</A>( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#gzip_params">gzip_params</A>& = <SPAN CLASS="omitted">zlib::default_compression</SPAN>,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN> );
<SPAN CLASS="comment">// DualUseFilter members.</SPAN>
@@ -238,7 +238,7 @@
<A NAME="basic_gzip_compressor_ctors"></A>
<H4><CODE>basic_gzip_compressor::basic_gzip_compressor</CODE></H4>
-<PRE CLASS="broken_ie"> basic_gzip_compressor( <SPAN CLASS="keyword">const</SPAN> gzip_params& = <SPAN CLASS="omitted">zlib::default_compression</SPAN>,
+<PRE CLASS="broken_ie"> basic_gzip_compressor( <SPAN CLASS="keyword">const</SPAN> gzip_params& = <SPAN CLASS="omitted">zlib::default_compression</SPAN>,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN> );</PRE>
<P>Constructs an instance of <CODE>basic_gzip_compressor</CODE> with the given parameters and buffer size. Since a <A CLASS="documented" HREF="#gzip_params"><CODE>gzip_params</CODE></A> object is implicitly constructible from an <CODE>int</CODE> representing a compression level, an <CODE>int</CODE> may be passed as the first constructor argument.</P>
@@ -298,7 +298,7 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">class</SPAN> <SPAN CLASS="defined">gzip_error</SPAN> : <SPAN CLASS="keyword">public</SPAN> std::ios_base::failure {
<SPAN CLASS="keyword">public:</SPAN>
<A CLASS="documented" HREF="#gzip_error_constructor">gzip_error</A>(<SPAN CLASS="keyword">int</SPAN> error);
- <A CLASS="documented" HREF="#gzip_error_constructor">gzip_error</A>(<SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="zlib.html#zlib_error">zlib_error</A>& e);
+ <A CLASS="documented" HREF="#gzip_error_constructor">gzip_error</A>(<SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="zlib.html#zlib_error">zlib_error</A>& e);
<SPAN CLASS="keyword">int</SPAN> <A CLASS="documented" HREF="#gzip_error_error">error</A>() <SPAN CLASS="keyword">const</SPAN>;
<SPAN CLASS="keyword">int</SPAN> <A CLASS="documented" HREF="#gzip_error_zlib_error_code">zlib_error_code</A>() <SPAN CLASS="keyword">const</SPAN>;
};</PRE>
@@ -307,7 +307,7 @@
<H4><CODE>gzip_error::gzip_error</CODE></H4>
<PRE CLASS="broken_ie"> gzip_error(<SPAN CLASS="keyword">int</SPAN> error);
- gzip_error(<SPAN CLASS="keyword">const</SPAN> zlib_error& e);</PRE>
+ gzip_error(<SPAN CLASS="keyword">const</SPAN> zlib_error& e);</PRE>
<P>The first member constructs an instance of <CODE>gzip_error</CODE> with the given error code from the namespace boost::iostreams::gzip
. The second constructs an instance of <CODE>gzip_error</CODE> based on an instance of zlib_error
.</P>
Modified: branches/release/libs/iostreams/doc/classes/line_filter.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/line_filter.html (original)
+++ branches/release/libs/iostreams/doc/classes/line_filter.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -59,7 +59,7 @@
<SPAN CLASS='keyword'>public:</SPAN>
<SPAN CLASS='keyword'>virtual</SPAN> ~basic_line_filter();
<SPAN CLASS='keyword'>private:</SPAN>
- <SPAN CLASS='keyword'>virtual</SPAN> string_type <A CLASS='documented' HREF='#do_filter'>do_filter</A>(<SPAN CLASS='keyword'>const</SPAN> string_type& line) <SPAN CLASS='numeric_literal'>= 0</SPAN>;
+ <SPAN CLASS='keyword'>virtual</SPAN> string_type <A CLASS='documented' HREF='#do_filter'>do_filter</A>(<SPAN CLASS='keyword'>const</SPAN> string_type& line) <SPAN CLASS='numeric_literal'>= 0</SPAN>;
};
<SPAN CLASS='keyword'>typedef</SPAN> basic_line_filter<<SPAN CLASS='keyword'>char</SPAN>> <SPAN CLASS='defined'>line_filter</SPAN>;
@@ -85,7 +85,7 @@
<A NAME="do_filter"></A>
<H4><CODE>line_filter::do_filter</CODE></H4>
-<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>virtual</SPAN> string_type do_filter(<SPAN CLASS='keyword'>const</SPAN> string_type& line) <SPAN CLASS='numeric_literal'>= 0</SPAN>;</PRE>
+<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>virtual</SPAN> string_type do_filter(<SPAN CLASS='keyword'>const</SPAN> string_type& line) <SPAN CLASS='numeric_literal'>= 0</SPAN>;</PRE>
<P>The argument <CODE>line</CODE> represents a single line of unfiltered text, not including any terminal newline character. Returns the result of filtering <CODE>line</CODE>.</P>
@@ -105,7 +105,7 @@
{ }
<SPAN CLASS='keyword'>int</SPAN> count() <SPAN CLASS='keyword'>const</SPAN> { <SPAN CLASS='keyword'>return</SPAN> count_; }
<SPAN CLASS='keyword'>private:</SPAN>
- std::string do_filter(<SPAN CLASS='keyword'>const</SPAN> std::string& line)
+ std::string do_filter(<SPAN CLASS='keyword'>const</SPAN> std::string& line)
{
<SPAN CLASS='keyword'>if</SPAN> (line.size() > max_)
++count_;
Modified: branches/release/libs/iostreams/doc/classes/mapped_file.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/mapped_file.html (original)
+++ branches/release/libs/iostreams/doc/classes/mapped_file.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -88,7 +88,7 @@
<SPAN CLASS="keyword">struct</SPAN> <SPAN CLASS="defined">mapped_file_params</SPAN> {
<SPAN CLASS='keyword'>explicit</SPAN> mapped_file_params();
- <SPAN CLASS='keyword'>explicit</SPAN> mapped_file_params(<SPAN CLASS='keyword'>const</SPAN> std::string& path);
+ <SPAN CLASS='keyword'>explicit</SPAN> mapped_file_params(<SPAN CLASS='keyword'>const</SPAN> std::string& path);
std::string <A CLASS='documented' HREF='#mapped_file_params_hint'>path</A>;
mapped_file::mapmode <A CLASS='documented' HREF='#mapped_file_params_flags'>flags</A>;
std::ios_base::openmode <A CLASS='documented' HREF='#mapped_file_params_mode'>mode</A>; // Deprecated
@@ -166,11 +166,11 @@
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='omitted'>[implementation-defined]</SPAN> category;
<A CLASS='documented' HREF='#mapped_file_source_default_ctor'>mapped_file_source</A>();
<SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_source_params_ctor'>mapped_file_source</A>(<A CLASS='documented' HREF='#mapped_file_params'>mapped_file_params</A> params);
- <SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_source_basic_ctor'>mapped_file_source</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+ <SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_source_basic_ctor'>mapped_file_source</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN> );
void <A CLASS='documented' HREF='#mapped_file_source_params_open'>open</A>(<A CLASS='documented' HREF='#mapped_file_params'>mapped_file_params</A> params);
- void <A CLASS='documented' HREF='#mapped_file_source_basic_open'>open</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+ void <A CLASS='documented' HREF='#mapped_file_source_basic_open'>open</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN> );
<SPAN CLASS='keyword'>bool</SPAN> <A CLASS='documented' HREF='#mapped_file_source_is_open'>is_open</A>() <SPAN CLASS='keyword'>const</SPAN>;
@@ -195,7 +195,7 @@
<P>Constructs a <CODE>mapped_file_source</CODE> from the given parameters.</P>
<A NAME="mapped_file_source_basic_ctor"></A>
-<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>explicit</SPAN> mapped_file_source( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>explicit</SPAN> mapped_file_source( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN> );</PRE>
@@ -225,7 +225,7 @@
<P>Connects this <CODE>mapped_file_source</CODE> to a memory-mapped file obtained as described by the given parameters.</P>
<A NAME="mapped_file_source_basic_open"></A>
-<PRE CLASS="broken_ie"> void open( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> void open( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN> );</PRE>
@@ -300,12 +300,12 @@
<SPAN CLASS='keyword'>enum</SPAN> mapmode { readwrite, priv };
<A CLASS='documented' HREF='#mapped_file_sink_default_ctor'>mapped_file_sink</A>();
<SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_sink_params_ctor'>mapped_file_sink</A>(<A CLASS='documented' HREF='#mapped_file_params'>mapped_file_params</A> params);
- <SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_sink_basic_ctor'>mapped_file_sink</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+ <SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_sink_basic_ctor'>mapped_file_sink</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN>,
mapmode flags = readwrite );
void <A CLASS='documented' HREF='#mapped_file_sink_params_open'>open</A>(<A CLASS='documented' HREF='#mapped_file_params'>mapped_file_params</A> params);
- void <A CLASS='documented' HREF='#mapped_file_sink_basic_open'>open</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+ void <A CLASS='documented' HREF='#mapped_file_sink_basic_open'>open</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN>,
mapmode flags = readwrite );
@@ -332,7 +332,7 @@
<P>Constructs a <CODE>mapped_file_sink</CODE> from the given parameters.</P>
<A NAME="mapped_file_sink_basic_ctor"></A>
-<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>explicit</SPAN> mapped_file_sink( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>explicit</SPAN> mapped_file_sink( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN>,
mapmode flags );</PRE>
@@ -367,7 +367,7 @@
<P>Connects this <CODE>mapped_file_sink</CODE> to a memory-mapped file obtained as described by the given parameters.</P>
<A NAME="mapped_file_sink_basic_open"></A>
-<PRE CLASS="broken_ie"> void open( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> void open( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN>
mapmode flags );</PRE>
@@ -454,22 +454,22 @@
<SPAN CLASS='keyword'>enum</SPAN> mapmode { readonly, readwrite, priv };
<A CLASS='documented' HREF='#mapped_file_default_ctor'>mapped_file</A>();
<SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_params_ctor'>mapped_file</A>(<A CLASS='documented' HREF='#mapped_file_params'>mapped_file_params</A> params);
- <SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_basic_ctor'>mapped_file</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+ <SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_basic_ctor'>mapped_file</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
std::ios_base::openmode mode =
std::ios_base::in | std::ios_base::out,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN> );
- <SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_mapmode_ctor'>mapped_file</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+ <SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#mapped_file_mapmode_ctor'>mapped_file</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
mapmode mode,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN> );
<SPAN CLASS='keyword'>void</SPAN> <A CLASS='documented' HREF='#mapped_file_params_open'>open</A>(<A CLASS='documented' HREF='#mapped_file_params'>mapped_file_params</A> params);
- <SPAN CLASS='keyword'>void</SPAN> <A CLASS='documented' HREF='#mapped_file_basic_open'>open</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+ <SPAN CLASS='keyword'>void</SPAN> <A CLASS='documented' HREF='#mapped_file_basic_open'>open</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
std::ios_base::openmode mode =
std::ios_base | std::ios_base,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN> );
- <SPAN CLASS='keyword'>void</SPAN> <A CLASS='documented' HREF='#mapped_file_mapmode_open'>open</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+ <SPAN CLASS='keyword'>void</SPAN> <A CLASS='documented' HREF='#mapped_file_mapmode_open'>open</A>( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
mapmode mode,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN> );
@@ -497,7 +497,7 @@
<P>Constructs a <CODE>mapped_file</CODE> from the given parameters.</P>
<A NAME="mapped_file_basic_ctor"></A>
-<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>explicit</SPAN> mapped_file( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>explicit</SPAN> mapped_file( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
std::ios_base::openmode mode =
std::ios_base | std::ios_base,
size_type length = max_length,
@@ -526,7 +526,7 @@
</TABLE>
<A NAME="mapped_file_mapmode_ctor"></A>
-<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>explicit</SPAN> mapped_file( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> <SPAN CLASS='keyword'>explicit</SPAN> mapped_file( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
mapmode mode,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN> );</PRE>
@@ -561,7 +561,7 @@
<P>Connects this <CODE>mapped_file</CODE> to a memory-mapped file obtained as described by the given parameters.</P>
<A NAME="mapped_file_basic_open"></A>
-<PRE CLASS="broken_ie"> void open( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> void open( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
std::ios_base::openmode mode =
std::ios_base | std::ios_base,
size_type length = max_length,
@@ -590,7 +590,7 @@
</TABLE>
<A NAME="mapped_file_mapmode_open"></A>
-<PRE CLASS="broken_ie"> void open( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
+<PRE CLASS="broken_ie"> void open( <SPAN CLASS='keyword'>const</SPAN> std::string& path,
mapmode mode,
size_type length = max_length,
boost::intmax_t offset = <SPAN CLASS='numeric_literal'>0</SPAN> );</PRE>
Modified: branches/release/libs/iostreams/doc/classes/regex_filter.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/regex_filter.html (original)
+++ branches/release/libs/iostreams/doc/classes/regex_filter.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -72,20 +72,20 @@
<SPAN CLASS="keyword">public:</SPAN>
<SPAN CLASS="keyword">typedef</SPAN> <A CLASS="documented" HREF="../../../../doc/html/function.html" TARGET="_top">boost::function1<</A>
std::basic_string<Ch>,
- <SPAN CLASS="keyword">const</SPAN> match_results<const Ch*>&
+ <SPAN CLASS="keyword">const</SPAN> match_results<const Ch*>&
>
<A CLASS="documented" HREF="#formatter">formatter</A>;
- <A CLASS="documented" HREF="#first_constructor">basic_regex_filter</A>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
- <SPAN CLASS="keyword">const</SPAN> formatter& replace,
+ <A CLASS="documented" HREF="#first_constructor">basic_regex_filter</A>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
+ <SPAN CLASS="keyword">const</SPAN> formatter& replace,
regex_constants::match_flag_type flags =
regex_constants::match_default );
- <A CLASS="documented" HREF="#second_constructor">basic_regex_filter</A>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
- <SPAN CLASS="keyword">const</SPAN> std::basic_string<Ch>& fmt,
+ <A CLASS="documented" HREF="#second_constructor">basic_regex_filter</A>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
+ <SPAN CLASS="keyword">const</SPAN> std::basic_string<Ch>& fmt,
regex_constants::match_flag_type flags =
regex_constants::match_default,
regex_constants::match_flag_type fmt_flags =
regex_constants::format_default );
- <A CLASS="documented" HREF="#third_constructor">basic_regex_filter</A>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
+ <A CLASS="documented" HREF="#third_constructor">basic_regex_filter</A>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
<SPAN CLASS="keyword">const</SPAN> Ch* fmt,
regex_constants::match_flag_type flags =
regex_constants::match_default,
@@ -122,14 +122,14 @@
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">typedef</SPAN> boost::function1<
std::basic_string<Ch>,
- <SPAN CLASS="keyword">const</SPAN> match_results<const Ch*>&
+ <SPAN CLASS="keyword">const</SPAN> match_results<const Ch*>&
>
<B>formatter</B>;</PRE>
<P>
The type of object which a <CODE>basic_regex_filter</CODE> uses to determine the replacement text for a given regular expression match. Each time a match is found, a corresponding <CODE>match_results</CODE> object is passed to a <CODE>formatter</CODE>, which returns the appropriate replacement text. Since Boost.Function objects are implictly constructible from function objects with the correct signature, users of regular expression Filters may define their own function objects with the correct signature and pass them to the <CODE>basic_regex_filter</CODE> constructor which takes a <CODE>formatter</CODE>. E.g.,
<PRE CLASS="broken_ie"> struct my_formatter {
- std::string operator()(const match_results<const char*>& match)
+ std::string operator()(const match_results<const char*>& match)
{
<SPAN CLASS="comment">// Examine match and return the appropriate replacement text</SPAN>
}
@@ -145,8 +145,8 @@
<H4><CODE>basic_regex_filter::basic_regex_filter</CODE></H4>
<A NAME="first_constructor"></A>
-<PRE CLASS="broken_ie"> <B>basic_regex_filter</B>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
- <SPAN CLASS="keyword">const</SPAN> formatter& replace,
+<PRE CLASS="broken_ie"> <B>basic_regex_filter</B>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
+ <SPAN CLASS="keyword">const</SPAN> formatter& replace,
regex_constants::match_flag_type flags =
regex_constants::match_default );</PRE>
@@ -172,8 +172,8 @@
<A NAME="second_constructor"></A>
-<PRE CLASS="broken_ie"> <B>basic_regex_filter</B>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
- <SPAN CLASS="keyword">const</SPAN> std::basic_string<Ch>& fmt,
+<PRE CLASS="broken_ie"> <B>basic_regex_filter</B>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
+ <SPAN CLASS="keyword">const</SPAN> std::basic_string<Ch>& fmt,
regex_constants::match_flag_type flags =
regex_constants::match_default,
regex_constants::match_flag_type fmt_flags =
@@ -203,7 +203,7 @@
<A NAME="third_constructor"></A>
-<PRE CLASS="broken_ie"> <B>basic_regex_filter</B>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
+<PRE CLASS="broken_ie"> <B>basic_regex_filter</B>( <SPAN CLASS="keyword">const</SPAN> basic_regex<Ch, Tr, Alloc>& pattern,
<SPAN CLASS="keyword">const</SPAN> Ch* fmt,
regex_constants::match_flag_type flags =
regex_constants::match_default,
Modified: branches/release/libs/iostreams/doc/classes/symmetric_filter.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/symmetric_filter.html (original)
+++ branches/release/libs/iostreams/doc/classes/symmetric_filter.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -57,18 +57,18 @@
<SPAN CLASS="keyword">explicit</SPAN> symmetric_filter(<SPAN CLASS="keyword">int</SPAN> buffer_size);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T0>
- symmetric_filter(<SPAN CLASS="keyword">int</SPAN> buffer_size, <SPAN CLASS="keyword">const</SPAN> T0& t0);
+ symmetric_filter(<SPAN CLASS="keyword">int</SPAN> buffer_size, <SPAN CLASS="keyword">const</SPAN> T0& t0);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T0, <SPAN CLASS="keyword">typename</SPAN> T1>
- symmetric_filter(<SPAN CLASS="keyword">int</SPAN> buffer_size, <SPAN CLASS="keyword">const</SPAN> T0& t0, <SPAN CLASS="keyword">const</SPAN> T1& t1);
+ symmetric_filter(<SPAN CLASS="keyword">int</SPAN> buffer_size, <SPAN CLASS="keyword">const</SPAN> T0& t0, <SPAN CLASS="keyword">const</SPAN> T1& t1);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T0, ..., <SPAN CLASS="keyword">typename</SPAN> TN>
- symmetric_filter( <SPAN CLASS="keyword">int</SPAN> buffer_size, const T0& t0,
- <SPAN CLASS="keyword">const</SPAN> T1& t1, ..., <SPAN CLASS="keyword">const</SPAN> TN& tN );
+ symmetric_filter( <SPAN CLASS="keyword">int</SPAN> buffer_size, const T0& t0,
+ <SPAN CLASS="keyword">const</SPAN> T1& t1, ..., <SPAN CLASS="keyword">const</SPAN> TN& tN );
<SPAN CLASS="omitted">...</SPAN>
<SPAN CLASS="keyword">protected</SPAN>:
- SymmetricFilter& <A CLASS="documented" HREF="#filter">filter</A>();
+ SymmetricFilter& <A CLASS="documented" HREF="#filter">filter</A>();
std::basic_string<char_type, Alloc> <A CLASS="documented" HREF="#unconsumed_input">unconsumed_input</A>() <SPAN CLASS="keyword">const</SPAN>;
};
@@ -100,21 +100,21 @@
<H4><CODE>symmetric_filter::symmetric_filter</CODE></H4>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T0>
- symmetric_filter(<SPAN CLASS="keyword">int</SPAN> buffer_size, <SPAN CLASS="keyword">const</SPAN> T0& t0);
+ symmetric_filter(<SPAN CLASS="keyword">int</SPAN> buffer_size, <SPAN CLASS="keyword">const</SPAN> T0& t0);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T0, <SPAN CLASS="keyword">typename</SPAN> T1>
- symmetric_filter(<SPAN CLASS="keyword">int</SPAN> buffer_size, <SPAN CLASS="keyword">const</SPAN> T0& t0, <SPAN CLASS="keyword">const</SPAN> T1& t1);
+ symmetric_filter(<SPAN CLASS="keyword">int</SPAN> buffer_size, <SPAN CLASS="keyword">const</SPAN> T0& t0, <SPAN CLASS="keyword">const</SPAN> T1& t1);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T0, ..., <SPAN CLASS="keyword">typename</SPAN> TN>
- symmetric_filter( <SPAN CLASS="keyword">int</SPAN> buffer_size, <SPAN CLASS="keyword">const</SPAN> T0& t0,
- <SPAN CLASS="keyword">const</SPAN> T1& t1, ..., <SPAN CLASS="keyword">const</SPAN> TN& tN );</PRE>
+ symmetric_filter( <SPAN CLASS="keyword">int</SPAN> buffer_size, <SPAN CLASS="keyword">const</SPAN> T0& t0,
+ <SPAN CLASS="keyword">const</SPAN> T1& t1, ..., <SPAN CLASS="keyword">const</SPAN> TN& tN );</PRE>
<P>Each member constructs an instance of <CODE>symmetric_filter</CODE> based on an instance of the template parameter SymmetricFilter
constructed with the given sequence of arguments and having an internal buffer of size <CODE>buffer_size</CODE>.</P>
<A NAME="filter"></A>
<H4><CODE>symmetric_filter::filter</CODE></H4>
-<PRE CLASS="broken_ie"> SymmetricFilter& <A CLASS="documented" HREF="#filter">filter</A>();</PRE>
+<PRE CLASS="broken_ie"> SymmetricFilter& <A CLASS="documented" HREF="#filter">filter</A>();</PRE>
<P>Returns a reference to the underlying instance of <CODE>SymmetricFilter</CODE>.</P>
Modified: branches/release/libs/iostreams/doc/classes/zlib.html
==============================================================================
--- branches/release/libs/iostreams/doc/classes/zlib.html (original)
+++ branches/release/libs/iostreams/doc/classes/zlib.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -251,7 +251,7 @@
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="keyword">char</SPAN> char_type;
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="omitted">implementation-defined</SPAN> category;
- <A CLASS="documented" HREF="#basic_zlib_compressor_constructors">basic_zlib_compressor</A>( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#zlib_params">zlib_params</A>& = <SPAN CLASS="omitted">zlib::default_compression</SPAN>,
+ <A CLASS="documented" HREF="#basic_zlib_compressor_constructors">basic_zlib_compressor</A>( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#zlib_params">zlib_params</A>& = <SPAN CLASS="omitted">zlib::default_compression</SPAN>,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN> );
<SPAN CLASS="comment">// DualUseFilter members.</SPAN>
@@ -273,7 +273,7 @@
<A NAME="basic_zlib_compressor_constructors"></A>
<H4><CODE>basic_zlib_compressor::basic_zlib_compressor</CODE></H4>
-<PRE CLASS="broken_ie"> basic_zlib_compressor( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#zlib_params">zlib_params</A>& = <SPAN CLASS="omitted">zlib::default_compression</SPAN>,
+<PRE CLASS="broken_ie"> basic_zlib_compressor( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#zlib_params">zlib_params</A>& = <SPAN CLASS="omitted">zlib::default_compression</SPAN>,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN> );</PRE>
<P>Constructs an instance of <CODE>basic_zlib_compressor</CODE> with the given parameters and buffer size. Since a <A CLASS="documented" HREF="#zlib_params"><CODE>zlib_params</CODE></A> object is implicitly constructible from an <CODE>int</CODE> representing a compression level, an <CODE>int</CODE> may be passed as the first constructor argument.</P>
@@ -295,7 +295,7 @@
<A CLASS="documented" HREF="#basic_zlib_decompressor_constructors">basic_zlib_decompressor</A>( <SPAN CLASS="keyword">int</SPAN> window_bits = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize buffer_size =
<SPAN CLASS="omitted">default value</SPAN> );
- <A CLASS="documented" HREF="#basic_zlib_decompressor_constructors">basic_zlib_decompressor</A>( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#zlib_params">zlib_params</A>&,
+ <A CLASS="documented" HREF="#basic_zlib_decompressor_constructors">basic_zlib_decompressor</A>( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#zlib_params">zlib_params</A>&,
std::streamsize buffer_size =
<SPAN CLASS="omitted">default value</SPAN> );
@@ -321,7 +321,7 @@
<PRE CLASS="broken_ie"> basic_zlib_decompressor( <SPAN CLASS="keyword">int</SPAN> window_bits = <SPAN CLASS="omitted">default value</SPAN>,
std::streamsize buffer_size =
<SPAN CLASS="omitted">default value</SPAN> );
- basic_zlib_decompressor( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#zlib_params">zlib_params</A>&,
+ basic_zlib_decompressor( <SPAN CLASS="keyword">const</SPAN> <A CLASS="documented" HREF="#zlib_params">zlib_params</A>&,
std::streamsize buffer_size =
<SPAN CLASS="omitted">default value</SPAN> );</PRE>
Modified: branches/release/libs/iostreams/doc/concepts/input_filter.html
==============================================================================
--- branches/release/libs/iostreams/doc/concepts/input_filter.html (original)
+++ branches/release/libs/iostreams/doc/concepts/input_filter.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -65,7 +65,7 @@
<SPAN CLASS="keyword">typedef</SPAN> input_filter_tag category;
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">int</SPAN> get(Source& src)
+ <SPAN CLASS="keyword">int</SPAN> get(Source& src)
{
<SPAN CLASS="keyword">int</SPAN> c;
<SPAN CLASS="keyword">while</SPAN> ( (c = boost::iostreams::get(src)) != EOF &&
@@ -103,7 +103,7 @@
<SPAN CLASS="keyword">typedef</SPAN> multichar_input_filter_tag category;
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- streamsize read(Source& src, <SPAN CLASS="keyword">char</SPAN>* s, streamsize n)
+ streamsize read(Source& src, <SPAN CLASS="keyword">char</SPAN>* s, streamsize n)
{
<SPAN CLASS="keyword">int</SPAN> c;
<SPAN CLASS="keyword">char</SPAN>* first = s;
Modified: branches/release/libs/iostreams/doc/concepts/output_filter.html
==============================================================================
--- branches/release/libs/iostreams/doc/concepts/output_filter.html (original)
+++ branches/release/libs/iostreams/doc/concepts/output_filter.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -64,7 +64,7 @@
<SPAN CLASS="keyword">typedef</SPAN> io::output_filter_tag category;
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">bool</SPAN> put(Sink& snk, <SPAN CLASS="keyword">char</SPAN> c)
+ <SPAN CLASS="keyword">bool</SPAN> put(Sink& snk, <SPAN CLASS="keyword">char</SPAN> c)
{
<SPAN CLASS="keyword">return</SPAN> io::put(snk, toupper((<SPAN CLASS="keyword">unsigned</SPAN> <SPAN CLASS="keyword">char</SPAN>) c));
}
@@ -96,7 +96,7 @@
<SPAN CLASS="keyword">typedef</SPAN> io::multichar_output_filter_tag category;
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">std::streamsize</SPAN> write(Sink& snk, <SPAN CLASS="keyword">const</SPAN> <SPAN CLASS="keyword">char</SPAN>* s, streamsize n)
+ <SPAN CLASS="keyword">std::streamsize</SPAN> write(Sink& snk, <SPAN CLASS="keyword">const</SPAN> <SPAN CLASS="keyword">char</SPAN>* s, streamsize n)
{
std::streamsize rest = n;
<SPAN CLASS="keyword">while</SPAN> (rest != 0 && io::put(snk, toupper((<SPAN CLASS="keyword">unsigned</SPAN> <SPAN CLASS="keyword">char</SPAN>) *s++))
Modified: branches/release/libs/iostreams/doc/concepts/sink.html
==============================================================================
--- branches/release/libs/iostreams/doc/concepts/sink.html (original)
+++ branches/release/libs/iostreams/doc/concepts/sink.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -105,7 +105,7 @@
<TD ALIGN="center">-</TD><TD ALIGN="center">-</TD>
</TR>
<TR>
- <TD><PRE CLASS="plain_code"><CODE>io::write(snk, s, n)</CODE></PRE></TD>
+ <TD><PRE CLASS="plain_code"><CODE>io::write(snk, s, n)</CODE></PRE></TD>
<TD><CODE>std::streamsize</CODE></TD>
<TD>Not convertible to direct_tag
</TD>
<TD>
@@ -149,4 +149,4 @@
<!-- End Footer -->
-</BODY>
\ No newline at end of file
+</BODY>
Modified: branches/release/libs/iostreams/doc/functions/close.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/close.html (original)
+++ branches/release/libs/iostreams/doc/functions/close.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -32,7 +32,7 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">namespace</SPAN> boost { <SPAN CLASS="keyword">namespace</SPAN> iostreams {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>>
-<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_device">close</A>(T& t);
+<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_device">close</A>(T& t);
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
@@ -105,13 +105,13 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">namespace</SPAN> boost { <SPAN CLASS="keyword">namespace</SPAN> iostreams {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>>
-<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_convenience">close</A>(T& t);
+<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_convenience">close</A>(T& t);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params_devices">T</A>>
-<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_device">close</A>(T& t, std::ios_base::openmode which);
+<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_device">close</A>(T& t, std::ios_base::openmode which);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params_filters">T</A>, <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params_filters">Device</A>>
-<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_filter">close</A>(T& t, Device& next, std::ios_base::openmode which);
+<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_filter">close</A>(T& t, Device& next, std::ios_base::openmode which);
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
@@ -133,7 +133,7 @@
<H4>Semantics</H4>
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
-<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_device">close</A>(T& t);</PRE>
+<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_device">close</A>(T& t);</PRE>
<P>This overload of <CODE>close</CODE> calls <CODE>close(t, std::ios_base::in)</CODE> followed by <CODE>close(t, std::ios_base::out)</CODE>. It ensures that <CODE>t</CODE> is closed properly, regardless of the mode or <CODE>t</CODE>.
@@ -154,7 +154,7 @@
<H4>Semantics</H4>
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
-<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_device">close</A>(T& t, std::ios_base::openmode which);</PRE>
+<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#close_device">close</A>(T& t, std::ios_base::openmode which);</PRE>
<P>If <CODE>t</CODE> is a filtering stream or stream buffer, <CODE>close</CODE> calls pop
if <CODE>t</CODE> is complete. The semantics depends on its category as follows:</P>
@@ -228,7 +228,7 @@
<H4>Semantics</H4>
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T, <SPAN CLASS="keyword">typename</SPAN> Device>
-<SPAN CLASS="keyword">void</SPAN> close(T& t, Device& next, std::ios_base::openmode which);</PRE>
+<SPAN CLASS="keyword">void</SPAN> close(T& t, Device& next, std::ios_base::openmode which);</PRE>
<P>The semantics of <CODE>close</CODE> for a Filter type <CODE>T</CODE> depends on its category as follows:</P>
Modified: branches/release/libs/iostreams/doc/functions/combine.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/combine.html (original)
+++ branches/release/libs/iostreams/doc/functions/combine.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -43,7 +43,7 @@
<SPAN CLASS="keyword">class</SPAN> combination;
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> In, <SPAN CLASS="keyword">typename</SPAN> Out>
-combination<In, Out> combine(<SPAN CLASS="keyword">const</SPAN> In& in, <SPAN CLASS="keyword">const</SPAN> Out& out);
+combination<In, Out> combine(<SPAN CLASS="keyword">const</SPAN> In& in, <SPAN CLASS="keyword">const</SPAN> Out& out);
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
Modified: branches/release/libs/iostreams/doc/functions/compose.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/compose.html (original)
+++ branches/release/libs/iostreams/doc/functions/compose.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -58,14 +58,14 @@
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='keyword'>typename</SPAN> <A CLASS='documented' HREF='../guide/traits.html#char_type'>char_type_of</A><Filter>::type char_type;
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='omitted'>implementation-defined</SPAN> mode;
- <A CLASS='documented' HREF='#composite_ctor'>composite</A>(<SPAN CLASS='keyword'>const</SPAN> Filter& first, [<SPAN CLASS='keyword'>const</SPAN>] FilterOrDevice& second);
+ <A CLASS='documented' HREF='#composite_ctor'>composite</A>(<SPAN CLASS='keyword'>const</SPAN> Filter& first, [<SPAN CLASS='keyword'>const</SPAN>] FilterOrDevice& second);
<SPAN CLASS='comment'>// Filter or Device member functions</SPAN>
};
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#compose_template_params">Filter</A>, <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#compose_template_params">FilterOrDevice</A>>
<A CLASS='documented' HREF='#composite'>composite</A><Filter, FilterOrDevice>
-<A CLASS='documented' HREF='#compose'>compose</A>(<SPAN CLASS='keyword'>const</SPAN> Filter& first, [<SPAN CLASS='keyword'>const</SPAN>] FilterOrDevice& second);
+<A CLASS='documented' HREF='#compose'>compose</A>(<SPAN CLASS='keyword'>const</SPAN> Filter& first, [<SPAN CLASS='keyword'>const</SPAN>] FilterOrDevice& second);
} } // End namespace boost::io</PRE>
@@ -90,7 +90,7 @@
<A NAME="composite_ctor"></A>
<H4><CODE>composite::composite</CODE></H4>
-<PRE CLASS="broken_ie"> composite(<SPAN CLASS='keyword'>const</SPAN> Filter& first, [<SPAN CLASS='keyword'>const</SPAN>] FilterOrDevice& second);</PRE>
+<PRE CLASS="broken_ie"> composite(<SPAN CLASS='keyword'>const</SPAN> Filter& first, [<SPAN CLASS='keyword'>const</SPAN>] FilterOrDevice& second);</PRE>
<P>
Constructs an instance of <CODE>composite</CODE> based on the given components. If <CODE>FilterOrDevice</CODE> is a stream or stream buffer type, the second parameter is a non-<CODE>const</CODE> reference; otherwise it is a <CODE>const</CODE> reference.
@@ -99,7 +99,7 @@
<A NAME="compose"></A>
<H2>Function Template <CODE>compose</CODE></H2>
-<PRE CLASS="broken_ie"> composite(<SPAN CLASS='keyword'>const</SPAN> Filter& first, [<SPAN CLASS='keyword'>const</SPAN>] FilterOrDevice& second);</PRE>
+<PRE CLASS="broken_ie"> composite(<SPAN CLASS='keyword'>const</SPAN> Filter& first, [<SPAN CLASS='keyword'>const</SPAN>] FilterOrDevice& second);</PRE>
<A NAME="compose_template_params"></A>
<H4>Template parameters</H4>
Modified: branches/release/libs/iostreams/doc/functions/copy.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/copy.html (original)
+++ branches/release/libs/iostreams/doc/functions/copy.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -43,7 +43,7 @@
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source, <SPAN CLASS="keyword">typename</SPAN> Sink>
std::streamsize
-copy( [<SPAN CLASS="keyword">const</SPAN>] Source& src, [<SPAN CLASS="keyword">const</SPAN>] Sink& sink,
+copy( [<SPAN CLASS="keyword">const</SPAN>] Source& src, [<SPAN CLASS="keyword">const</SPAN>] Sink& sink,
std::streamsize buffer_size = <SPAN CLASS="omitted">default value</SPAN> );
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
Modified: branches/release/libs/iostreams/doc/functions/filter_test.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/filter_test.html (original)
+++ branches/release/libs/iostreams/doc/functions/filter_test.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -58,13 +58,13 @@
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> InputFilter>
<SPAN CLASS='keyword'>bool</SPAN> test_input_filter( InputFilter filter,
- <SPAN CLASS='keyword'>const</SPAN> std::string& input,
- <SPAN CLASS='keyword'>const</SPAN> std::string& output );
+ <SPAN CLASS='keyword'>const</SPAN> std::string& input,
+ <SPAN CLASS='keyword'>const</SPAN> std::string& output );
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> InputFilter, <SPAN CLASS='keyword'>typename</SPAN> Source1, <SPAN CLASS='keyword'>typename</SPAN> Source2>
<SPAN CLASS='keyword'>bool</SPAN> test_input_filter( InputFilter filter,
- <SPAN CLASS='keyword'>const</SPAN> Source1& input,
- <SPAN CLASS='keyword'>const</SPAN> Source2& output );
+ <SPAN CLASS='keyword'>const</SPAN> Source1& input,
+ <SPAN CLASS='keyword'>const</SPAN> Source2& output );
} } <SPAN CLASS='comment'>// End namespace boost::io</SPAN></PRE>
@@ -82,13 +82,13 @@
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> OutputFilter>
<SPAN CLASS='keyword'>bool</SPAN> test_output_filter( OutputFilter filter,
- <SPAN CLASS='keyword'>const</SPAN> std::string& input,
- <SPAN CLASS='keyword'>const</SPAN> std::string& output );
+ <SPAN CLASS='keyword'>const</SPAN> std::string& input,
+ <SPAN CLASS='keyword'>const</SPAN> std::string& output );
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> OutputFilter, <SPAN CLASS='keyword'>typename</SPAN> Source1, <SPAN CLASS='keyword'>typename</SPAN> Source2>
<SPAN CLASS='keyword'>bool</SPAN> test_output_filter( OutputFilter filter,
- <SPAN CLASS='keyword'>const</SPAN> Source1& input,
- <SPAN CLASS='keyword'>const</SPAN> Source2& output );
+ <SPAN CLASS='keyword'>const</SPAN> Source1& input,
+ <SPAN CLASS='keyword'>const</SPAN> Source2& output );
} } <SPAN CLASS='comment'>// End namespace boost::io</SPAN></PRE>
@@ -106,12 +106,12 @@
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> OutputFilter, <SPAN CLASS='keyword'>typename</SPAN> InputFilter>
<SPAN CLASS='keyword'>bool</SPAN> test_filter_pair( OutputFilter first,
InputFilter second,
- <SPAN CLASS='keyword'>const</SPAN> std::string& data );
+ <SPAN CLASS='keyword'>const</SPAN> std::string& data );
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> OutputFilter, <SPAN CLASS='keyword'>typename</SPAN> InputFilter, <SPAN CLASS='keyword'>typename</SPAN> Source>
<SPAN CLASS='keyword'>bool</SPAN> test_filter_pair( OutputFilter first,
InputFilter second,
- <SPAN CLASS='keyword'>const</SPAN> Source& data );
+ <SPAN CLASS='keyword'>const</SPAN> Source& data );
} } <SPAN CLASS='comment'>// End namespace boost::io</SPAN></PRE>
Modified: branches/release/libs/iostreams/doc/functions/flush.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/flush.html (original)
+++ branches/release/libs/iostreams/doc/functions/flush.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -55,10 +55,10 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">namespace</SPAN> boost { <SPAN CLASS="keyword">namespace</SPAN> iostreams {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>>
-<SPAN CLASS='keyword'>bool</SPAN> <A CLASS="documented" HREF="#flush_device">flush</A>(T& t);
+<SPAN CLASS='keyword'>bool</SPAN> <A CLASS="documented" HREF="#flush_device">flush</A>(T& t);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>, <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">Sink</A>>
-<SPAN CLASS='keyword'>bool</SPAN> <A CLASS="documented" HREF="#flush_filter">flush</A>(T& t, Sink& snk);
+<SPAN CLASS='keyword'>bool</SPAN> <A CLASS="documented" HREF="#flush_filter">flush</A>(T& t, Sink& snk);
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
@@ -81,7 +81,7 @@
<H4>Semantics — Device Types</H4>
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
-<SPAN CLASS='keyword'>bool</SPAN> flush(T& t);</PRE>
+<SPAN CLASS='keyword'>bool</SPAN> flush(T& t);</PRE>
<P>The semantics of <CODE>flush</CODE> depends on the category of <CODE>T</CODE> as follows:</P>
@@ -109,7 +109,7 @@
<H4>Semantics — Filter Types</H4>
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T, <SPAN CLASS="keyword">typename</SPAN> Sink>
-<SPAN CLASS='keyword'>bool</SPAN> flush(T& t, Sink& snk);</PRE>
+<SPAN CLASS='keyword'>bool</SPAN> flush(T& t, Sink& snk);</PRE>
<P>The semantics of <CODE>flush</CODE> depends on the category of <CODE>T</CODE> as follows:</P>
Modified: branches/release/libs/iostreams/doc/functions/get.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/get.html (original)
+++ branches/release/libs/iostreams/doc/functions/get.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -44,10 +44,10 @@
<SPAN CLASS="keyword">struct</SPAN> tolower_filter : <SPAN CLASS="keyword">public</SPAN> input_filter {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">int</SPAN> get(Source& src)
+ <SPAN CLASS="keyword">int</SPAN> get(Source& src)
{
<SPAN CLASS="keyword">int</SPAN> c;
- <SPAN CLASS="keyword">return</SPAN> (c == boost::iostreams::get(src)) != <SPAN CLASS='numeric_literal'>EOF</SPAN> &&
+ <SPAN CLASS="keyword">return</SPAN> (c = boost::iostreams::get(src)) != <SPAN CLASS='numeric_literal'>EOF</SPAN> &&
c != WOULD_BLOCK
?
tolower((<SPAN CLASS="keyword">unsigned</SPAN> <SPAN CLASS="keyword">char</SPAN>) c) :
@@ -78,7 +78,7 @@
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">Source</A>>
<SPAN CLASS="keyword">typename</SPAN> <A CLASS='documented' HREF="../guide/traits.html#int_type_of_ref">int_type_of</A><Source>::type
- <A CLASS="documented" HREF="#semantics">get</A>(<A CLASS="documented" HREF="#template_params">Source</A>& <A CLASS="documented" HREF="#function_params">src</A>);
+ <A CLASS="documented" HREF="#semantics">get</A>(<A CLASS="documented" HREF="#template_params">Source</A>& <A CLASS="documented" HREF="#function_params">src</A>);
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
@@ -109,7 +109,7 @@
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
<SPAN CLASS="keyword">typename</SPAN> int_type_of<Source>::type
- get(Source& src);</PRE>
+ get(Source& src);</PRE>
<P>The semantics of <CODE>get</CODE> depends on the category of <CODE>Source</CODE> as follows:</P>
@@ -146,4 +146,4 @@
<!-- End Footer -->
-</BODY>
\ No newline at end of file
+</BODY>
Modified: branches/release/libs/iostreams/doc/functions/imbue.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/imbue.html (original)
+++ branches/release/libs/iostreams/doc/functions/imbue.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -44,7 +44,7 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">namespace</SPAN> boost { <SPAN CLASS="keyword">namespace</SPAN> iostreams {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>>
-<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#semantics">imbue</A>(T& t, <SPAN CLASS="keyword">const</SPAN> std::locale& loc);
+<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#semantics">imbue</A>(T& t, <SPAN CLASS="keyword">const</SPAN> std::locale& loc);
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
Modified: branches/release/libs/iostreams/doc/functions/invert.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/invert.html (original)
+++ branches/release/libs/iostreams/doc/functions/invert.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -68,13 +68,13 @@
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='keyword'>typename</SPAN> <A CLASS='documented' HREF='../guide/traits.html#char_type_of_ref'>char_type_of</A><Filter>::type char_type;
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='omitted'>see above</SPAN> mode;
- <A CLASS='documented' HREF='#inverse_ctor'>inverse</A>(<SPAN CLASS='keyword'>const</SPAN> Filter& filter);
+ <A CLASS='documented' HREF='#inverse_ctor'>inverse</A>(<SPAN CLASS='keyword'>const</SPAN> Filter& filter);
<SPAN CLASS='comment'>// Filter member functions</SPAN>
};
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#invert_template_params">Filter</A>>
-<A CLASS='documented' HREF='#inverse'>inverse</A><Filter> <A CLASS='documented' HREF='#invert'>invert</A>(<SPAN CLASS='keyword'>const</SPAN> Filter& filter);
+<A CLASS='documented' HREF='#inverse'>inverse</A><Filter> <A CLASS='documented' HREF='#invert'>invert</A>(<SPAN CLASS='keyword'>const</SPAN> Filter& filter);
} } // End namespace boost::io</PRE>
@@ -95,7 +95,7 @@
<A NAME="inverse_ctor"></A>
<H4><CODE>inverse::inverse</CODE></H4>
-<PRE CLASS="broken_ie"> inverse(<SPAN CLASS='keyword'>const</SPAN> Filter& filter);</PRE>
+<PRE CLASS="broken_ie"> inverse(<SPAN CLASS='keyword'>const</SPAN> Filter& filter);</PRE>
<P>
Constructs an instance of <CODE>inverse</CODE> based on the given filter.
@@ -105,7 +105,7 @@
<H2>Function Template <CODE>invert</CODE></H2>
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Filter>
-inverse<Filter> invert(<SPAN CLASS='keyword'>const</SPAN> Filter& filter);</PRE>
+inverse<Filter> invert(<SPAN CLASS='keyword'>const</SPAN> Filter& filter);</PRE>
<A NAME="invert_template_params"></A>
<H4>Template parameters</H4>
Modified: branches/release/libs/iostreams/doc/functions/optimal_buffer_size.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/optimal_buffer_size.html (original)
+++ branches/release/libs/iostreams/doc/functions/optimal_buffer_size.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -44,7 +44,7 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">namespace</SPAN> boost { <SPAN CLASS="keyword">namespace</SPAN> iostreams {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>>
-std::streamsize <A CLASS="documented" HREF="#optimal_buffer_size">optimal_buffer_size</A>(T& t);
+std::streamsize <A CLASS="documented" HREF="#optimal_buffer_size">optimal_buffer_size</A>(T& t);
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
@@ -61,7 +61,7 @@
<A NAME="optimal_buffer_size"></A>
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
-std::streamsize optimal_buffer_size(T& t);</PRE>
+std::streamsize optimal_buffer_size(T& t);</PRE>
<P>The semantics of <CODE>optimal_buffer_size</CODE> depends on the category of <CODE>T</CODE> as follows:</P>
Modified: branches/release/libs/iostreams/doc/functions/put.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/put.html (original)
+++ branches/release/libs/iostreams/doc/functions/put.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -44,7 +44,7 @@
<SPAN CLASS="keyword">struct</SPAN> toupper_filter : <SPAN CLASS="keyword">public</SPAN> io::output_filter {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">bool</SPAN> put(Sink& snk, <SPAN CLASS="keyword">char</SPAN> c)
+ <SPAN CLASS="keyword">bool</SPAN> put(Sink& snk, <SPAN CLASS="keyword">char</SPAN> c)
{
<SPAN CLASS="keyword">return</SPAN> io::put(snk, toupper((<SPAN CLASS="keyword">unsigned</SPAN> <SPAN CLASS="keyword">char</SPAN>) c));
}
@@ -72,7 +72,7 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">namespace</SPAN> boost { <SPAN CLASS="keyword">namespace</SPAN> iostreams {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">Sink</A>>
- <SPAN CLASS="keyword">void</SPAN> put(Sink& <A CLASS="documented" HREF="#function_params">snk</A>, <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="../guide/traits.html#char_type_of_ref">char_type_of</A><Sink>::type c);
+ <SPAN CLASS="keyword">void</SPAN> put(Sink& <A CLASS="documented" HREF="#function_params">snk</A>, <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="../guide/traits.html#char_type_of_ref">char_type_of</A><Sink>::type c);
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
@@ -102,7 +102,7 @@
<H4>Semantics</H4>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">void</SPAN> put(Sink& snk, <SPAN CLASS="keyword">typename</SPAN> char_type_of<Sink>::type c);</PRE>
+ <SPAN CLASS="keyword">void</SPAN> put(Sink& snk, <SPAN CLASS="keyword">typename</SPAN> char_type_of<Sink>::type c);</PRE>
<P>The semantics of <CODE>put</CODE> depends on the category of <CODE>Sink</CODE> as follows:</P>
@@ -122,7 +122,7 @@
</TR>
<TR>
<TD VALIGN="top">otherwise</TD>
- <TD>invokes <CODE>snk.write(&c, 1)</CODE></TD>
+ <TD>invokes <CODE>snk.write(&c, 1)</CODE></TD>
</TR>
</TABLE>
Modified: branches/release/libs/iostreams/doc/functions/putback.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/putback.html (original)
+++ branches/release/libs/iostreams/doc/functions/putback.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -24,7 +24,7 @@
<H2>Overview</H2>
<P>
- The function template <CODE>put</CODE> provides a uniform interface for putting back characters read from models of Peekable, for use in the definitions of Filters.
+ The function template <CODE>putback</CODE> provides a uniform interface for putting back characters read from models of Peekable, for use in the definitions of Filters.
</P>
<A NAME="headers"></A>
@@ -49,7 +49,7 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">namespace</SPAN> boost { <SPAN CLASS="keyword">namespace</SPAN> iostreams {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">Peekable</A>>
- <SPAN CLASS="keyword">bool</SPAN> <A CLASS="documented" HREF="#semantics">putback</A>(Peekable& peekable, <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="../guide/traits.html#char_type_of_ref">char_type_of</A><Peekable>::type c);
+ <SPAN CLASS="keyword">bool</SPAN> <A CLASS="documented" HREF="#semantics">putback</A>(Peekable& peekable, <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="../guide/traits.html#char_type_of_ref">char_type_of</A><Peekable>::type c);
} } <SPAN CLASS="comment">// End namespace boost::io</SPAN></PRE>
@@ -100,4 +100,4 @@
<!-- End Footer -->
-</BODY>
\ No newline at end of file
+</BODY>
Modified: branches/release/libs/iostreams/doc/functions/read.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/read.html (original)
+++ branches/release/libs/iostreams/doc/functions/read.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -48,7 +48,7 @@
<SPAN CLASS="keyword">struct</SPAN> tolower_filter : <SPAN CLASS="keyword">public</SPAN> io::multichar_input_filter {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- streamsize read(Source& src, <SPAN CLASS="keyword">char</SPAN>* s, streamsize n)
+ streamsize read(Source& src, <SPAN CLASS="keyword">char</SPAN>* s, streamsize n)
{
streamsize result;
<SPAN CLASS="keyword">if</SPAN> ((result = io::read(src, s, n)) == <SPAN CLASS='numeric_literal'>-1</SPAN>)
@@ -83,13 +83,13 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">namespace</SPAN> boost { <SPAN CLASS="keyword">namespace</SPAN> iostreams {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>>
-std::streamsize <A CLASS="documented" HREF="#read_device">read</A>( T& <A CLASS="documented" HREF="#function_params">t</A>,
+std::streamsize <A CLASS="documented" HREF="#read_device">read</A>( T& <A CLASS="documented" HREF="#function_params">t</A>,
<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="../guide/traits.html#char_type_of_ref">char_type_of</A><T>::type* <A CLASS="documented" HREF="#function_params">s</A>,
std::streamsize <A CLASS="documented" HREF="#function_params">n</A> );
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>, <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">Source</A>>
-std::streamsize <A CLASS="documented" HREF="#read_filter">read</A>( T& <A CLASS="documented" HREF="#function_params">t</A>,
- Source& <A CLASS="documented" HREF="#function_params">src</A>,
+std::streamsize <A CLASS="documented" HREF="#read_filter">read</A>( T& <A CLASS="documented" HREF="#function_params">t</A>,
+ Source& <A CLASS="documented" HREF="#function_params">src</A>,
<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="../guide/traits.html#char_type_of_ref">char_type_of</A><T>::type* <A CLASS="documented" HREF="#function_params">s</A>,
std::streamsize <A CLASS="documented" HREF="#function_params">n</A> );
@@ -137,7 +137,7 @@
<H4>Semantics — Device Types</H4>
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
-std::streamsize read( T& t,
+std::streamsize read( T& t,
<SPAN CLASS="keyword">typename</SPAN> char_type_of<T>::type* s,
std::streamsize n );</PRE>
@@ -167,8 +167,8 @@
<H4>Semantics — Filter Types</H4>
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
-std::streamsize read( T& t,
- Source& src,
+std::streamsize read( T& t,
+ Source& src,
<SPAN CLASS="keyword">typename</SPAN> char_type_of<T>::type* s,
std::streamsize n );</PRE>
Modified: branches/release/libs/iostreams/doc/functions/restrict.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/restrict.html (original)
+++ branches/release/libs/iostreams/doc/functions/restrict.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -58,7 +58,7 @@
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='keyword'>typename</SPAN> <A CLASS='documented' HREF='../guide/traits.html#char_type_of_ref'>char_type_of</A><Component>::type char_type;
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='omitted'>implementation-defined</SPAN> mode;
- <A CLASS='documented' HREF='#restriction_ctor'>restriction</A>( [<SPAN CLASS='keyword'>const</SPAN>] Component& component,
+ <A CLASS='documented' HREF='#restriction_ctor'>restriction</A>( [<SPAN CLASS='keyword'>const</SPAN>] Component& component,
<A CLASS='documented' HREF='positioning.html#synopsis'>stream_offset</A> off,
<A CLASS='documented' HREF='positioning.html#synopsis'>stream_offset</A> len = <SPAN CLASS='literal'>-1</SPAN> );
@@ -67,7 +67,7 @@
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#restrict_template_params">Component</A>>
<A CLASS='documented' HREF='#restriction'>restriction</A><Component>
-<A CLASS='documented' HREF='#restrict'>restrict</A>( [<SPAN CLASS='keyword'>const</SPAN>] Component& component,
+<A CLASS='documented' HREF='#restrict'>restrict</A>( [<SPAN CLASS='keyword'>const</SPAN>] Component& component,
<A CLASS='documented' HREF='positioning.html#synopsis'>stream_offset</A> off,
<A CLASS='documented' HREF='positioning.html#synopsis'>stream_offset</A> len = <SPAN CLASS='literal'>-1</SPAN> );
@@ -90,7 +90,7 @@
<A NAME="restriction_ctor"></A>
<H4><CODE>restriction::restriction</CODE></H4>
-<PRE CLASS="broken_ie"> restriction( [<SPAN CLASS='keyword'>const</SPAN>] Component& component,
+<PRE CLASS="broken_ie"> restriction( [<SPAN CLASS='keyword'>const</SPAN>] Component& component,
<A CLASS='documented' HREF='positioning.html#synopsis'>stream_offset</A> off,
<A CLASS='documented' HREF='positioning.html#synopsis'>stream_offset</A> len = <SPAN CLASS='literal'>-1</SPAN> );</PRE>
@@ -119,7 +119,7 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Component>
restriction<Component>
-restrict( [<SPAN CLASS='keyword'>const</SPAN>] Component& component,
+restrict( [<SPAN CLASS='keyword'>const</SPAN>] Component& component,
<A CLASS='documented' HREF='positioning.html#synopsis'>stream_offset</A> off,
<A CLASS='documented' HREF='positioning.html#synopsis'>stream_offset</A> len = <SPAN CLASS='literal'>-1</SPAN> );</PRE>
Modified: branches/release/libs/iostreams/doc/functions/seek.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/seek.html (original)
+++ branches/release/libs/iostreams/doc/functions/seek.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -50,7 +50,7 @@
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>>
std::streampos
-<A CLASS="documented" HREF="#semantics">seek</A>( T&, <A CLASS="documented" HREF="positioning.html#synopsis">stream_offset</A> <A CLASS="documented" HREF="#function_params">off</A>, std::ios_base::seekdir <A CLASS="documented" HREF="#function_params">way</A>,
+<A CLASS="documented" HREF="#semantics">seek</A>( T&, <A CLASS="documented" HREF="positioning.html#synopsis">stream_offset</A> <A CLASS="documented" HREF="#function_params">off</A>, std::ios_base::seekdir <A CLASS="documented" HREF="#function_params">way</A>,
std::ios_base::openmode <A CLASS="documented" HREF="#function_params">which</A> =
std::ios_base::in | std::ios_base::out );
Modified: branches/release/libs/iostreams/doc/functions/tee.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/tee.html (original)
+++ branches/release/libs/iostreams/doc/functions/tee.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -30,7 +30,7 @@
</P>
<P>
- The overloaded function template <A HREF='#tee'><CODE>tee</CODE></A> is an <A HREF='http://www.boost.org/more/generic_programming.html#object_generator' TARGET='_top'>object generator</A> which given a Device or a pair of Sinks returns an appropriate specialization of <CODE>tee_filter</CODE> or <CODE>tee_device</CODE>.
+ The overloaded function template <A HREF='#tee'><CODE>tee</CODE></A> is an <A HREF='http://www.boost.org/more/generic_programming.html#object_generator' TARGET='_top'>object generator</A> which given a Sink or a pair of Sinks returns an appropriate specialization of <CODE>tee_filter</CODE> or <CODE>tee_device</CODE>.
</P>
<A NAME="headers"></A>
@@ -54,7 +54,7 @@
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='keyword'>typename</SPAN> char_type_of<Sink>::type char_type;
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='omitted'>[implementation-defined]</SPAN> category;
- <SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#tee_filter_ctor'>tee_filter</A>([<SPAN CLASS='keyword'>const</SPAN>] Sink& snk);
+ <SPAN CLASS='keyword'>explicit</SPAN> <A CLASS='documented' HREF='#tee_filter_ctor'>tee_filter</A>([<SPAN CLASS='keyword'>const</SPAN>] Sink& snk);
<SPAN CLASS='comment'>// OutputFilter member functions</SPAN>
};
@@ -65,16 +65,16 @@
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='keyword'>typename</SPAN> char_type_of<Sink1>::type char_type;
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='omitted'>[implementation-defined]</SPAN> category;
- <A CLASS='documented' HREF='#tee_device_ctor'>tee_device</A>([<SPAN CLASS='keyword'>const</SPAN>] <SPAN CLASS='keyword'>const</SPAN>& sink1, [<SPAN CLASS='keyword'>const</SPAN>] Sink2& sink2);
+ <A CLASS='documented' HREF='#tee_device_ctor'>tee_device</A>([<SPAN CLASS='keyword'>const</SPAN>] <SPAN CLASS='keyword'>const</SPAN>& sink1, [<SPAN CLASS='keyword'>const</SPAN>] Sink2& sink2);
<SPAN CLASS='comment'>// Sink member functions</SPAN>
};
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> <A CLASS='documented' HREF='#tee_unary_template_params'>Sink</A>>
-<A CLASS='documented' HREF='#tee_filter'>tee_filter</A><Sink> <A CLASS='documented' HREF='#tee_unary'>tee</A>([<SPAN CLASS='keyword'>const</SPAN>] Sink& snk);
+<A CLASS='documented' HREF='#tee_filter'>tee_filter</A><Sink> <A CLASS='documented' HREF='#tee_unary'>tee</A>([<SPAN CLASS='keyword'>const</SPAN>] Sink& snk);
<SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> <A CLASS='documented' HREF='#tee_binary_template_params'>Sink1</A>, <SPAN CLASS='keyword'>typename</SPAN> <A CLASS='documented' HREF='#tee_binary_template_params'>Sink2</A>>
-<A CLASS='documented' HREF='#tee_device'>tee_device</A><Sink1, Sink2> <A CLASS='documented' HREF='#tee_binary'>tee</A>([<SPAN CLASS='keyword'>const</SPAN>] Sink1& sink1, [<SPAN CLASS='keyword'>const</SPAN>] Sink2& sink2);
+<A CLASS='documented' HREF='#tee_device'>tee_device</A><Sink1, Sink2> <A CLASS='documented' HREF='#tee_binary'>tee</A>([<SPAN CLASS='keyword'>const</SPAN>] Sink1& sink1, [<SPAN CLASS='keyword'>const</SPAN>] Sink2& sink2);
} } // End namespace boost::io</PRE>
@@ -100,7 +100,7 @@
<A NAME="tee_filter_ctor"></A>
<H4><CODE>tee_filter::tee_filter</CODE></H4>
-<PRE CLASS="broken_ie"><SPAN CLASS='keyword'>explicit</SPAN> tee_filter([<SPAN CLASS='keyword'>const</SPAN>] Sink& sink);</PRE>
+<PRE CLASS="broken_ie"><SPAN CLASS='keyword'>explicit</SPAN> tee_filter([<SPAN CLASS='keyword'>const</SPAN>] Sink& sink);</PRE>
<P>
Constructs an instance of <CODE>tee_filter</CODE> based on the given Sink. The function parameter is a non-<CODE>const</CODE> reference if <CODE>Sink</CODE> is a stream or stream buffer type, and a <CODE>const</CODE> reference otherwise.
@@ -131,7 +131,7 @@
<A NAME="tee_device_ctor"></A>
<H4><CODE>tee_device::tee_device</CODE></H4>
-<PRE CLASS="broken_ie">tee_device([<SPAN CLASS='keyword'>const</SPAN>] <SPAN CLASS='keyword'>const</SPAN>& sink1, [<SPAN CLASS='keyword'>const</SPAN>] Sink2& sink2);</PRE>
+<PRE CLASS="broken_ie">tee_device([<SPAN CLASS='keyword'>const</SPAN>] <SPAN CLASS='keyword'>const</SPAN>& sink1, [<SPAN CLASS='keyword'>const</SPAN>] Sink2& sink2);</PRE>
<P>
Constructs an instance of <CODE>tee_device</CODE> based on the given pair of Sinks. Each function parameter is a non-<CODE>const</CODE> reference if the corresponding template argument is a stream or stream buffer type, and a <CODE>const</CODE> reference otherwise.
@@ -142,7 +142,7 @@
<H2>Function Template <CODE>tee</CODE></H2>
<PRE CLASS="broken_ie"><SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> Sink>
-tee_filter<Sink> tee([<SPAN CLASS='keyword'>const</SPAN>] Sink& snk);</PRE>
+tee_filter<Sink> tee([<SPAN CLASS='keyword'>const</SPAN>] Sink& snk);</PRE>
<A NAME="tee_unary_template_params"></A>
<H4>Template parameters</H4>
@@ -160,7 +160,7 @@
<A NAME="tee_binary"></A>
<PRE CLASS="broken_ie"><SPAN CLASS='keyword'>template</SPAN><<SPAN CLASS='keyword'>typename</SPAN> Sink1, <SPAN CLASS='keyword'>typename</SPAN> Sink2>
-tee_device<Sink1, Sink2> tee([<SPAN CLASS='keyword'>const</SPAN>] Sink1& sink1, [<SPAN CLASS='keyword'>const</SPAN>] Sink2& sink2);</PRE>
+tee_device<Sink1, Sink2> tee([<SPAN CLASS='keyword'>const</SPAN>] Sink1& sink1, [<SPAN CLASS='keyword'>const</SPAN>] Sink2& sink2);</PRE>
<A NAME="tee_binary_template_params"></A>
<H4>Template parameters</H4>
Modified: branches/release/libs/iostreams/doc/functions/write.html
==============================================================================
--- branches/release/libs/iostreams/doc/functions/write.html (original)
+++ branches/release/libs/iostreams/doc/functions/write.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -49,16 +49,16 @@
<SPAN CLASS="keyword">struct</SPAN> reversing_filter : <SPAN CLASS="keyword">public</SPAN> multichar_output_filter {
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- std::streamsize write(Sink& snk, <SPAN CLASS="keyword">const</SPAN> <SPAN CLASS="keyword">char</SPAN>* s, streamsize n)
+ std::streamsize write(Sink& snk, <SPAN CLASS="keyword">const</SPAN> <SPAN CLASS="keyword">char</SPAN>* s, streamsize n)
{
data.insert(data.end(), s, s + n);
<SPAN CLASS="keyword">return</SPAN> n;
}
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">void</SPAN> close(Sink& snk)
+ <SPAN CLASS="keyword">void</SPAN> close(Sink& snk)
{
std::reverse(data.begin(), data.end());
- boost::iostreams::write(&data[0], (streamsize) data.size());
+ boost::iostreams::write(&data[0], (streamsize) data.size());
data.clear();
}
std::vector<<SPAN CLASS="keyword">char</SPAN>> data;
@@ -87,14 +87,14 @@
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>>
std::streamsize
-<A CLASS="documented" HREF="#write_device">write</A>( T& <A CLASS="documented" HREF="#function_params">t</A>,
+<A CLASS="documented" HREF="#write_device">write</A>( T& <A CLASS="documented" HREF="#function_params">t</A>,
<SPAN CLASS="keyword">const</SPAN> <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="../guide/traits.html#char_type_of_ref">char_type_of</A><T>::type* <A CLASS="documented" HREF="#function_params">s</A>,
std::streamsize <A CLASS="documented" HREF="#function_params">n</A> );
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">T</A>, <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="#template_params">Sink</A>>
std::streamsize
-<A CLASS="documented" HREF="#write_filter">write</A>( T& <A CLASS="documented" HREF="#function_params">t</A>,
- Sink& <A CLASS="documented" HREF="#function_params">snk</A>,
+<A CLASS="documented" HREF="#write_filter">write</A>( T& <A CLASS="documented" HREF="#function_params">t</A>,
+ Sink& <A CLASS="documented" HREF="#function_params">snk</A>,
<SPAN CLASS="keyword">const</SPAN> <SPAN CLASS="keyword">typename</SPAN> <A CLASS="documented" HREF="../guide/traits.html#char_type_of_ref">char_type_of</A><T>::type* <A CLASS="documented" HREF="#function_params">s</A>,
std::streamsize <A CLASS="documented" HREF="#function_params">n</A> );
@@ -143,7 +143,7 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T>
std::streamsize
-write( T& t,
+write( T& t,
<SPAN CLASS="keyword">const</SPAN> <SPAN CLASS="keyword">typename</SPAN> char_type_of<T>::type* s,
std::streamsize n );</PRE>
@@ -170,8 +170,8 @@
<PRE CLASS="broken_ie"><SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> T, <SPAN CLASS="keyword">typename</SPAN> Sink>
std::streamsize
-write( T& t,
- Sink& snk,
+write( T& t,
+ Sink& snk,
<SPAN CLASS="keyword">const</SPAN> <SPAN CLASS="keyword">typename</SPAN> char_type_of<T>::type* s,
std::streamsize n );</PRE>
Modified: branches/release/libs/iostreams/doc/guide/generic_streams.html
==============================================================================
--- branches/release/libs/iostreams/doc/guide/generic_streams.html (original)
+++ branches/release/libs/iostreams/doc/guide/generic_streams.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -89,46 +89,46 @@
[<SPAN CLASS="omitted">Standard stream buffer typedefs: int_type, off_type, etc.</SPAN>]
<A CLASS="documented" HREF="#stream_buffer_default_constructor">stream_buffer</A>();
- <A CLASS="documented" HREF="#stream_buffer_policy_constructor">stream_buffer</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
+ <A CLASS="documented" HREF="#stream_buffer_policy_constructor">stream_buffer</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default_value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default_value</SPAN> );
<SPAN CLASS="comment">// Forwarding constructors</SPAN>
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U>
- <A CLASS="documented" HREF="#stream_buffer_forwarding_constructors">stream_buffer</A>([<SPAN CLASS="keyword">const</SPAN>] U& u);
+ <A CLASS="documented" HREF="#stream_buffer_forwarding_constructors">stream_buffer</A>([<SPAN CLASS="keyword">const</SPAN>] U& u);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="keyword">typename</SPAN> U2>
- <A CLASS="documented" HREF="#stream_buffer_forwarding_constructors">stream_buffer</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
+ <A CLASS="documented" HREF="#stream_buffer_forwarding_constructors">stream_buffer</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
<SPAN CLASS="omitted">...</SPAN>
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">typename</SPAN> UN>
- <A CLASS="documented" HREF="#stream_buffer_forwarding_constructors">stream_buffer</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2 <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);
+ <A CLASS="documented" HREF="#stream_buffer_forwarding_constructors">stream_buffer</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2 <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_buffer_open">open</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_buffer_open">open</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default_value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default_value</SPAN> );
<SPAN CLASS="comment">// Forwarding overloads of open()</SPAN>
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_buffer_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U& u);
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_buffer_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U& u);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="keyword">typename</SPAN> U2>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_buffer_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_buffer_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
<SPAN CLASS="omitted">...</SPAN>
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">typename</SPAN> UN>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_buffer_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_buffer_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);
<SPAN CLASS="keyword">bool</SPAN> <A CLASS="documented" HREF="#stream_buffer_is_open">is_open</A>() <SPAN CLASS="keyword">const</SPAN>;
<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_buffer_close">close</A>();
<SPAN CLASS="comment">// Device access</SPAN>
- T& <A CLASS='documented' HREF="#stream_buffer_operator_star"><SPAN CLASS="documented">operator</SPAN>*</A>();
+ T& <A CLASS='documented' HREF="#stream_buffer_operator_star"><SPAN CLASS="documented">operator</SPAN>*</A>();
T* <A CLASS='documented' HREF="#stream_buffer_operator_arrow"><SPAN CLASS="documented">operator-></SPAN></A>();
};
@@ -169,7 +169,7 @@
<H4><CODE>stream_buffer::stream_buffer</CODE></H4>
<A NAME="stream_buffer_policy_constructor"></A>
-<PRE> <B>stream_buffer</B>( <SPAN CLASS="keyword">const</SPAN> T& t,
+<PRE> <B>stream_buffer</B>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
@@ -194,15 +194,15 @@
<A NAME="stream_buffer_forwarding_constructors"></A>
<PRE> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U>
- <B>stream_buffer</B>([<SPAN CLASS="keyword">const</SPAN>] U& u);
+ <B>stream_buffer</B>([<SPAN CLASS="keyword">const</SPAN>] U& u);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="keyword">typename</SPAN> U2>
- <B>stream_buffer</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
+ <B>stream_buffer</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
<SPAN CLASS="omitted">...</SPAN>
template<<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">typename</SPAN> UN>
- <B>stream_buffer</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);</PRE>
+ <B>stream_buffer</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);</PRE>
<P>
Each of these members constructs an instance of <CODE>stream_buffer</CODE> and associates it with an instance of the Device <CODE>T</CODE> constructed from the given lists of arguments. The <CODE>T</CODE> constructor must take all arguments other than the first by value or <CODE>const</CODE> reference.
@@ -214,7 +214,7 @@
<H4><CODE>stream_buffer::open</CODE></H4>
<A NAME="stream_buffer_open"></A>
-<PRE> void <B>open</B>( <SPAN CLASS="keyword">const</SPAN> T& t,
+<PRE> void <B>open</B>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
@@ -224,15 +224,15 @@
<A NAME="stream_buffer_forwarding_open"></A>
<PRE> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U>
- <SPAN CLASS="keyword">void</SPAN> <B>open</B>(<SPAN CLASS="keyword">const</SPAN> U& u);
+ <SPAN CLASS="keyword">void</SPAN> <B>open</B>(<SPAN CLASS="keyword">const</SPAN> U& u);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="keyword">typename</SPAN> U2>
- <SPAN CLASS="keyword">void</SPAN> <B>open</B>(<SPAN CLASS="keyword">const</SPAN> U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
+ <SPAN CLASS="keyword">void</SPAN> <B>open</B>(<SPAN CLASS="keyword">const</SPAN> U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
<SPAN CLASS="omitted">...</SPAN>
template<<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">typename</SPAN> UN>
- <SPAN CLASS="keyword">void</SPAN> <B>open</B>(<SPAN CLASS="keyword">const</SPAN> U1& u1, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);</PRE>
+ <SPAN CLASS="keyword">void</SPAN> <B>open</B>(<SPAN CLASS="keyword">const</SPAN> U1& u1, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);</PRE>
<P>
Each of these members associates with <CODE>this</CODE> instance of <CODE>stream_buffer</CODE> a newly constructed instance of the Device <CODE>T</CODE> constructed from the given lists of arguments, if there is no such instance currently associated; otherwise, they throw <CODE>std::ios_base::failure</CODE>. The <CODE>T</CODE> constructor must take all arguments other than the first by value or <CODE>const</CODE> reference.
@@ -257,7 +257,7 @@
<A NAME="stream_buffer_operator_star"></A>
<H4><CODE>stream_buffer::operator*</CODE></H4>
-<PRE> T& <B>operator*</B>();</PRE>
+<PRE> T& <B>operator*</B>();</PRE>
<P>
Returns a reference to the instance of <CODE>T</CODE> associated with this <CODE>stream_buffer</CODE>, which must be open
.
@@ -301,46 +301,46 @@
[<SPAN CLASS="omitted">Standard stream buffer typedefs: int_type, off_type, etc.</SPAN>]
<A CLASS="documented" HREF="#stream_default_constructor">stream</A>();
- <A CLASS="documented" HREF="#stream_policy_constructor">stream</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
+ <A CLASS="documented" HREF="#stream_policy_constructor">stream</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default_value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default_value</SPAN> );
<SPAN CLASS="comment">// Forwarding constructors</SPAN>
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U>
- <A CLASS="documented" HREF="#stream_forwarding_constructors">stream</A>([<SPAN CLASS="keyword">const</SPAN>] U& u);
+ <A CLASS="documented" HREF="#stream_forwarding_constructors">stream</A>([<SPAN CLASS="keyword">const</SPAN>] U& u);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="keyword">typename</SPAN> U2>
- <A CLASS="documented" HREF="#stream_forwarding_constructors">stream</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
+ <A CLASS="documented" HREF="#stream_forwarding_constructors">stream</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
<SPAN CLASS="omitted">...</SPAN>
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">typename</SPAN> UN>
- <A CLASS="documented" HREF="#stream_forwarding_constructors">stream</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);
+ <A CLASS="documented" HREF="#stream_forwarding_constructors">stream</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_open">open</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_open">open</A>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size = <SPAN CLASS="omitted">default_value</SPAN>,
std::streamsize pback_size = <SPAN CLASS="omitted">default_value</SPAN> );
<SPAN CLASS="comment">// Forwarding overloads of open()</SPAN>
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U& u);
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U& u);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="keyword">typename</SPAN> U2>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
<SPAN CLASS="omitted">...</SPAN>
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">typename</SPAN> UN>
- <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);
+ <SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_forwarding_open">open</A>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);
<SPAN CLASS="keyword">bool</SPAN> <A CLASS="documented" HREF="#stream_is_open">is_open</A>() <SPAN CLASS="keyword">const</SPAN>;
<SPAN CLASS="keyword">void</SPAN> <A CLASS="documented" HREF="#stream_close">close</A>();
<SPAN CLASS="comment">// Device access</SPAN>
- T& <A CLASS='documented' HREF="#stream_operator_star"><SPAN CLASS="documented">operator</SPAN>*</A>();
+ T& <A CLASS='documented' HREF="#stream_operator_star"><SPAN CLASS="documented">operator</SPAN>*</A>();
T* <A CLASS='documented' HREF="#stream_operator_arrow"><SPAN CLASS="documented">operator-></SPAN></A>();
};
@@ -381,7 +381,7 @@
<H4><CODE>stream::stream</CODE></H4>
<A NAME="stream_policy_constructor"></A>
-<PRE> <B>stream</B>( <SPAN CLASS="keyword">const</SPAN> T& t,
+<PRE> <B>stream</B>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
@@ -406,15 +406,15 @@
<A NAME="stream_forwarding_constructors"></A>
<PRE> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U>
- <B>stream</B>([<SPAN CLASS="keyword">const</SPAN>] U& u);
+ <B>stream</B>([<SPAN CLASS="keyword">const</SPAN>] U& u);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="keyword">typename</SPAN> U2>
- <B>stream</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
+ <B>stream</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
<SPAN CLASS="omitted">...</SPAN>
template<<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">typename</SPAN> UN>
- <B>stream</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);</PRE>
+ <B>stream</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);</PRE>
<P>
Each of these members constructs an instance of <CODE>stream</CODE> and associates it with an instance of the Device <CODE>T</CODE> constructed from the given lists of arguments. The <CODE>T</CODE> constructors involved must take all arguments by value or <CODE>const</CODE> reference.
@@ -426,7 +426,7 @@
<H4><CODE>stream::open</CODE></H4>
<A NAME="stream_open"></A>
-<PRE> void <B>open</B>( <SPAN CLASS="keyword">const</SPAN> T& t,
+<PRE> void <B>open</B>( <SPAN CLASS="keyword">const</SPAN> T& t,
std::streamsize buffer_size,
std::streamsize pback_size );</PRE>
@@ -436,15 +436,15 @@
<A NAME="stream_forwarding_open"></A>
<PRE> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U>
- <SPAN CLASS="keyword">void</SPAN> <B>open</B>([<SPAN CLASS="keyword">const</SPAN>] U& u);
+ <SPAN CLASS="keyword">void</SPAN> <B>open</B>([<SPAN CLASS="keyword">const</SPAN>] U& u);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="keyword">typename</SPAN> U2>
- <SPAN CLASS="keyword">void</SPAN> <B>open</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
+ <SPAN CLASS="keyword">void</SPAN> <B>open</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2);
<SPAN CLASS="omitted">...</SPAN>
template<<SPAN CLASS="keyword">typename</SPAN> U1, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">typename</SPAN> UN>
- <SPAN CLASS="keyword">void</SPAN> <B>open</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);</PRE>
+ <SPAN CLASS="keyword">void</SPAN> <B>open</B>([<SPAN CLASS="keyword">const</SPAN>] U1& u1, <SPAN CLASS="keyword">const</SPAN> U2& u2, <SPAN CLASS="omitted">...</SPAN>, <SPAN CLASS="keyword">const</SPAN> UN& uN);</PRE>
<P>
Each of these members associates with <CODE>this</CODE> instance of <CODE>stream</CODE> a newly constructed instance of the Device <CODE>T</CODE> constructed from the given lists of arguments, if there is no such instance currently associated; otherwise, they throw <CODE>std::ios_base::failure</CODE>. The <CODE>T</CODE> constructors involved must take all arguments by value or <CODE>const</CODE> reference.
@@ -469,7 +469,7 @@
<A NAME="stream_operator_star"></A>
<H4><CODE>stream::operator*</CODE></H4>
-<PRE> T& <B>operator*</B>();</PRE>
+<PRE> T& <B>operator*</B>();</PRE>
<P>
Returns a reference to the instance of <CODE>T</CODE> associated with this <CODE>stream</CODE>, which must be open
.
Modified: branches/release/libs/iostreams/doc/guide/pipelines.html
==============================================================================
--- branches/release/libs/iostreams/doc/guide/pipelines.html (original)
+++ branches/release/libs/iostreams/doc/guide/pipelines.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -68,7 +68,7 @@
<SPAN CLASS="keyword">public:</SPAN>
<SPAN CLASS='omitted'>...</SPAN>
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">int</SPAN> get(Source& src)
+ <SPAN CLASS="keyword">int</SPAN> get(Source& src)
{
<SPAN CLASS='omitted'> ...</SPAN>
}
Modified: branches/release/libs/iostreams/doc/quick_reference.html
==============================================================================
--- branches/release/libs/iostreams/doc/quick_reference.html (original)
+++ branches/release/libs/iostreams/doc/quick_reference.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -4,11 +4,11 @@
<TITLE>Iostreams Quick Reference</TITLE>
<LINK REL="stylesheet" HREF="../../../boost.css">
<LINK REL="stylesheet" HREF="theme/iostreams.css">
-</HEAD>
<STYLE>
DT A { /*text-decoration:none*/ }
LI A { /*text-decoration:none;*/ font: 80% Verdana, Tahoma, Arial, Helvetica, sans-serif }
</STYLE>
+</HEAD>
<BODY>
<!-- Begin Banner -->
@@ -63,7 +63,7 @@
</TD>
</TR>
<TR>
- <TD>filtering_streambuf
</TD>
+ <TD>filtering_streambuf
</TD>
<TD>filtering_streambuf.hpp
</TD>
<TD>
Stream buffer template which performs filtered i/o using a contained chain
.
@@ -332,8 +332,8 @@
<H2>Views</H2>
<P>
- Each view consists of one or more class templates together with an object generator. <I>See</I> Views.
-<P>
+ Each view consists of one or more class templates together with an object generator. <I>See</I> Views.
+</P>
<TABLE STYLE="margin-bottom:1em" BORDER="1" CELLPADDING="6" CELLSPACING="1">
<TR>
@@ -420,4 +420,4 @@
<!-- End Footer -->
-</BODY>
\ No newline at end of file
+</BODY>
Modified: branches/release/libs/iostreams/doc/tutorial/container_device.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/container_device.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/container_device.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -105,7 +105,7 @@
<SPAN CLASS="keyword">public</SPAN>:
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="keyword">typename</SPAN> Container::value_type char_type;
<SPAN CLASS="keyword">typedef</SPAN> seekable_device_tag category;
- container_device(Container& container)
+ container_device(Container& container)
: container_(container), pos_(<SPAN CLASS='numeric_literal'>0</SPAN>)
{ }
@@ -136,7 +136,7 @@
pos_ += result;
}
<SPAN CLASS="keyword">if</SPAN> (result < n) {
- container_.insert(container_.end(), s, s + n);
+ container_.insert(container_.end(), s + result, s + n);
pos_ = container_.size();
}
<SPAN CLASS="keyword">return</SPAN> n;
@@ -147,11 +147,11 @@
<SPAN CLASS='comment'>// Determine new value of pos_</SPAN>
stream_offset next;
- <SPAN CLASS="keyword">if</SPAN> (way == ios_bas::beg) {
+ <SPAN CLASS="keyword">if</SPAN> (way == ios_base::beg) {
next = off;
- } <SPAN CLASS="keyword">else</SPAN> <SPAN CLASS="keyword">if</SPAN> (way == ios_bas::cur) {
+ } <SPAN CLASS="keyword">else</SPAN> <SPAN CLASS="keyword">if</SPAN> (way == ios_base::cur) {
next = pos_ + off;
- } <SPAN CLASS="keyword">else</SPAN> <SPAN CLASS="keyword">if</SPAN> (way == ios_bas::end) {
+ } <SPAN CLASS="keyword">else</SPAN> <SPAN CLASS="keyword">if</SPAN> (way == ios_base::end) {
next = container_.size() + off - <SPAN CLASS='numeric_literal'>1</SPAN>;
} <SPAN CLASS="keyword">else</SPAN> {
<SPAN CLASS="keyword">throw</SPAN> ios_base::failure(<SPAN CLASS='numeric_literal'>"bad seek direction"</SPAN>);
@@ -165,10 +165,10 @@
<SPAN CLASS="keyword">return</SPAN> pos_;
}
- Container& container() { <SPAN CLASS="keyword">return</SPAN> container_; }
+ Container& container() { <SPAN CLASS="keyword">return</SPAN> container_; }
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">typedef</SPAN> <SPAN CLASS="keyword">typename</SPAN> Container::size_type size_type;
- Container& container_;
+ Container& container_;
size_type pos_;
};
@@ -176,15 +176,15 @@
<P>Here, note that</P>
<UL>
-<LI>The member type <CODE>char_type</CODE> is defined to be equal to the containers's <CODE>value_type</CODE>;
+<LI>The member type <CODE>char_type</CODE> is defined to be equal to the container's <CODE>value_type</CODE>;
<LI>The member type <CODE>category</CODE> tells the Iostreams library that <CODE>container_device</CODE> is a model of SeekableDevice;
<LI>A <CODE>container_device</CODE> can be constructed from a instance of <CODE>Container</CODE>, which is passed and stored by reference, and accessible <I>via</I> the member function <CODE>container()</CODE>;
<LI>The implementation of <CODE>read</CODE> is identical to the implementation in container_source
.
</UL>
-<P>The implementation of <CODE>write</CODE> is a bit different from the implementation in container_sink
. Rather than simply appending characters to the container, you first check whether the current character position is somewhere in the middle of the container. If it is, you attempt to satisfy the write request by overwriting existing characters in the conatiner, starting at the current character position. If you reach the end of the container before the write request is satisfied, you insert the remaining characters at the end.</P>
+<P>The implementation of <CODE>write</CODE> is a bit different from the implementation in container_sink
. Rather than simply appending characters to the container, you first check whether the current character position is somewhere in the middle of the container. If it is, you attempt to satisfy the write request by overwriting existing characters in the container, starting at the current character position. If you reach the end of the container before the write request is satisfied, you insert the remaining characters at the end.</P>
-<P>The implementation of <CODE>seek</CODE> is striaghforward. First, you calculate the new character position based on <CODE>off</CODE> and <CODE>way</CODE>: if <CODE>way</CODE> is <CODE>ios_base::beg</CODE>, the new character position is simply <CODE>off</CODE>; if <CODE>way</CODE> is <CODE>ios_base::cur</CODE>, the new character position is <CODE>pos_ + off</CODE>; if <CODE>way</CODE> is <CODE>ios_base::end</CODE>, the new character position is <CODE>container_.size() + off - 1</CODE>. Next, you check whether the new character position is a valid offset, and throw an exception if it isn't. Instances of <CODE>std::basic_streambuf</CODE> are allowed to return <CODE>-1</CODE> to indicate failure, but the policy of the Boost Iostreams library is that errors should be indicated by throwing an exception (<I>see</I> Exceptions). Finally, you set the new position and return it.</P>
+<P>The implementation of <CODE>seek</CODE> is straightforward. First, you calculate the new character position based on <CODE>off</CODE> and <CODE>way</CODE>: if <CODE>way</CODE> is <CODE>ios_base::beg</CODE>, the new character position is simply <CODE>off</CODE>; if <CODE>way</CODE> is <CODE>ios_base::cur</CODE>, the new character position is <CODE>pos_ + off</CODE>; if <CODE>way</CODE> is <CODE>ios_base::end</CODE>, the new character position is <CODE>container_.size() + off - 1</CODE>. Next, you check whether the new character position is a valid offset, and throw an exception if it isn't. Instances of <CODE>std::basic_streambuf</CODE> are allowed to return <CODE>-1</CODE> to indicate failure, but the policy of the Boost Iostreams library is that errors should be indicated by throwing an exception (<I>see</I> Exceptions). Finally, you set the new position and return it.</P>
<P>You can use a container_device as follows</P>
@@ -233,4 +233,4 @@
</P>
<!-- End Footer -->
-</BODY>
\ No newline at end of file
+</BODY>
Modified: branches/release/libs/iostreams/doc/tutorial/container_sink.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/container_sink.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/container_sink.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -79,15 +79,15 @@
<SPAN CLASS='keyword'>public</SPAN>:
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='keyword'>typename</SPAN> Container::value_type char_type;
<SPAN CLASS='keyword'>typedef</SPAN> sink_tag category;
- container_sink(Container& container) : container_(container) { }
+ container_sink(Container& container) : container_(container) { }
std::streamsize write(const char_type* s, std::streamsize n)
{
container_.insert(container_.end(), s, s + n);
<SPAN CLASS='keyword'>return</SPAN> n;
}
- Container& container() { return container_; }
+ Container& container() { return container_; }
<SPAN CLASS='keyword'>private</SPAN>:
- Container& container_;
+ Container& container_;
};
} } } <SPAN CLASS='comment'>// End namespace boost::iostreams:example</SPAN></PRE>
Modified: branches/release/libs/iostreams/doc/tutorial/container_source.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/container_source.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/container_source.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -81,7 +81,7 @@
<SPAN CLASS='keyword'>public</SPAN>:
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='keyword'>typename</SPAN> Container::value_type char_type;
<SPAN CLASS='keyword'>typedef</SPAN> source_tag category;
- container_source(Container& container)
+ container_source(Container& container)
: container_(container), pos_(<SPAN CLASS='numeric_literal'>0</SPAN>)
{ }
std::streamsize read(char_type* s, std::streamsize n)
@@ -99,10 +99,10 @@
<SPAN CLASS='keyword'>return</SPAN> <SPAN CLASS='numeric_literal'>-1</SPAN>; <SPAN CLASS='comment'>// EOF</SPAN>
}
}
- Container& container() { <SPAN CLASS='keyword'>return</SPAN> container_; }
+ Container& container() { <SPAN CLASS='keyword'>return</SPAN> container_; }
<SPAN CLASS='keyword'>private</SPAN>:
<SPAN CLASS='keyword'>typedef</SPAN> <SPAN CLASS='keyword'>typename</SPAN> Container::size_type size_type;
- Container& container_;
+ Container& container_;
size_type pos_;
};
Modified: branches/release/libs/iostreams/doc/tutorial/dictionary_filters.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/dictionary_filters.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/dictionary_filters.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -50,8 +50,8 @@
<SPAN CLASS="keyword">class</SPAN> dictionary {
<SPAN CLASS="keyword">public</SPAN>:
- <SPAN CLASS="keyword">void</SPAN> add(std::string key, <SPAN CLASS="keyword">const</SPAN> std::string& value);
- <SPAN CLASS="keyword">void</SPAN> replace(std::string& key);
+ <SPAN CLASS="keyword">void</SPAN> add(std::string key, <SPAN CLASS="keyword">const</SPAN> std::string& value);
+ <SPAN CLASS="keyword">void</SPAN> replace(std::string& key);
<SPAN CLASS='comment'>/* ... */</SPAN>
};
@@ -75,7 +75,7 @@
<SPAN CLASS="keyword">class</SPAN> dictionary_stdio_filter : <SPAN CLASS="keyword"><SPAN CLASS="keyword"><SPAN CLASS="keyword">public</SPAN></SPAN></SPAN> stdio_filter {
<SPAN CLASS="keyword">public</SPAN>:
- dictionary_stdio_filter(dictionary& d) : dictionary_(d) { }
+ dictionary_stdio_filter(dictionary& d) : dictionary_(d) { }
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">void</SPAN> do_filter()
{
@@ -95,7 +95,7 @@
}
}
}
- dictionary& dictionary_;
+ dictionary& dictionary_;
std::string current_word_;
};
@@ -118,17 +118,17 @@
<SPAN CLASS="keyword">class</SPAN> dictionary_input_filter : <SPAN CLASS="keyword"><SPAN CLASS="keyword"><SPAN CLASS="keyword">public</SPAN></SPAN></SPAN> input_filter {
<SPAN CLASS="keyword">public</SPAN>:
- dictionary_input_filter(dictionary& d)
+ dictionary_input_filter(dictionary& d)
: dictionary_(d), off_(std::string::npos), eof_(<SPAN CLASS="keyword">false</SPAN>)
{ }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src);
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">void</SPAN> close(Source&);
+ <SPAN CLASS="keyword">void</SPAN> close(Source&);
<SPAN CLASS="keyword">private</SPAN>:
- dictionary& dictionary_;
+ dictionary& dictionary_;
std::string current_word_;
std::string::size_type off_;
<SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> eof_;
@@ -139,10 +139,10 @@
<P>The function <CODE>get</CODE> is implemented as follows:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
{
<SPAN CLASS='comment'>// Handle unfinished business.</SPAN>
- <SPAN CLASS="keyword">if</SPAN> (off_ != std::string::npos && off_ < current_word_.size())
+ <SPAN CLASS="keyword">if</SPAN> (off_ != std::string::npos && off_ < current_word_.size())
<SPAN CLASS="keyword">return</SPAN> current_word_[off_++];
<SPAN CLASS="keyword">if</SPAN> (off_ == current_word_.size()) {
current_word_.erase();
@@ -185,7 +185,7 @@
<P>As usual, the function <CODE>close</CODE> resets the Filter's state:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">void</SPAN> close(Source&)
+ <SPAN CLASS="keyword">void</SPAN> close(Source&)
{
current_word_.erase();
off_ = std::string::npos;
@@ -206,19 +206,19 @@
<SPAN CLASS="keyword">class</SPAN> dictionary_output_filter : <SPAN CLASS="keyword"><SPAN CLASS="keyword"><SPAN CLASS="keyword">public</SPAN></SPAN></SPAN> output_filter {
<SPAN CLASS="keyword">public</SPAN>:
<SPAN CLASS="keyword">typedef</SPAN> std::map<std::string, std::string> map_type;
- dictionary_output_filter(dictionary& d)
+ dictionary_output_filter(dictionary& d)
: dictionary_(d), off_(std::string::npos)
{ }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">void</SPAN> close(Sink& dest);
+ <SPAN CLASS="keyword">void</SPAN> close(Sink& dest);
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> write_current_word(Sink& dest);
- dictionary& dictionary_;
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> write_current_word(Sink& dest);
+ dictionary& dictionary_;
std::string current_word_;
std::string::size_type off_;
};
@@ -228,7 +228,7 @@
<P>Let's look first at the helper function <CODE>write_current_word</CODE>:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> write_current_word(Sink& dest)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> write_current_word(Sink& dest)
{
<SPAN CLASS="keyword">using</SPAN> <SPAN CLASS="keyword">namespace</SPAN> std;
streamsize amt = <SPAN CLASS="keyword">static_cast</SPAN><streamsize>(current_word_.size() - off_);
@@ -251,9 +251,9 @@
<P>Using <CODE>write_current_word</CODE> you can implement <CODE>put</CODE> as follows:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
{
- <SPAN CLASS="keyword">if</SPAN> (off_ != std::string::npos && !write_current_word(dest))
+ <SPAN CLASS="keyword">if</SPAN> (off_ != std::string::npos && !write_current_word(dest))
<SPAN CLASS="keyword">return</SPAN> <SPAN CLASS="keyword">false</SPAN>;
<SPAN CLASS="keyword">if</SPAN> (!std::isalpha((<SPAN CLASS="keyword">unsigned</SPAN> <SPAN CLASS="keyword">char</SPAN>) c)) {
dictionary_.replace(current_word_);
@@ -271,7 +271,7 @@
<P>The function <CODE>close</CODE> has more work to do in this case than simply reseting the Filter's state. Unless the last character of the unfiltered sequence happened to be a non-alphabetic character, the contents of current_word_ will not yet have been written:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- void close(Sink& dest)
+ void close(Sink& dest)
{
<SPAN CLASS='comment'>// Reset current_word_ and off_, saving old values.</SPAN>
std::string current_word;
Modified: branches/release/libs/iostreams/doc/tutorial/dual_use_filters.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/dual_use_filters.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/dual_use_filters.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -49,19 +49,19 @@
{ }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
{
<SPAN CLASS='comment'>/* same as shell_comments_input_filter::get() */</SPAN>
}
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
{
<SPAN CLASS='comment'>/* same as shell_comments_output_filter::put() */</SPAN>
}
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Device>
- <SPAN CLASS="keyword">void</SPAN> close(Device&, std::ios_base::openmode)
+ <SPAN CLASS="keyword">void</SPAN> close(Device&, std::ios_base::openmode)
{
skip_ = <SPAN CLASS="keyword">false</SPAN>;
}
Modified: branches/release/libs/iostreams/doc/tutorial/finite_state_filters.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/finite_state_filters.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/finite_state_filters.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -42,7 +42,7 @@
A character class is a class type with a <CODE>static</CODE> member function <CODE>test</CODE> taking a character and a <CODE>std::locale</CODE> as arguments. <I>E.g.</I>,
<PRE class="broken_ie"> <SPAN CLASS="keyword">struct</SPAN> is_any {
- <SPAN CLASS="keyword">static</SPAN> <SPAN CLASS="keyword">bool</SPAN> test(<SPAN CLASS="keyword">char</SPAN>, <SPAN CLASS="keyword">const</SPAN> std::locale&);
+ <SPAN CLASS="keyword">static</SPAN> <SPAN CLASS="keyword">bool</SPAN> test(<SPAN CLASS="keyword">char</SPAN>, <SPAN CLASS="keyword">const</SPAN> std::locale&);
};</PRE>
<P>
@@ -85,8 +85,8 @@
BOOST_IOSTREAMS_FSM(dos2unix_fsm) <SPAN CLASS='comment'>// Define skip and push.</SPAN>
<SPAN CLASS="keyword">typedef</SPAN> dos2unix_fsm self;
<SPAN CLASS="keyword">typedef</SPAN> boost::mpl::vector<
- row<initial_state, is<<SPAN CLASS="literal">'\r'</SPAN>>, initial_state, &self::skip>,
- row<initial_state, is_any, initial_state, &self::push>
+ row<initial_state, is<<SPAN CLASS="literal">'\r'</SPAN>>, initial_state, &self::skip>,
+ row<initial_state, is_any, initial_state, &self::push>
> transition_table;
};</PRE>
@@ -111,8 +111,8 @@
<SPAN CLASS="keyword">void</SPAN> on_lf(<SPAN CLASS="keyword">char</SPAN>) { push(<SPAN CLASS="literal">'\r'</SPAN>); push(<SPAN CLASS="literal">'\n'</SPAN>); }
<SPAN CLASS="keyword">typedef</SPAN> boost::mpl::vector<
- row<initial_state, is<<SPAN CLASS="literal">'\n'</SPAN>>, initial_state, &self::on_lf>,
- row<initial_state, is_any, initial_state, &self::push>
+ row<initial_state, is<<SPAN CLASS="literal">'\n'</SPAN>>, initial_state, &self::on_lf>,
+ row<initial_state, is_any, initial_state, &self::push>
> transition_table;
};</PRE>
@@ -143,16 +143,16 @@
<SPAN CLASS="keyword">void</SPAN> push_slash(<SPAN CLASS="keyword">char</SPAN> c) { push('/'); push(c); }
<SPAN CLASS="keyword">typedef</SPAN> boost::mpl::vector<
- row<no_comment, is<<SPAN CLASS='literal'>'/'</SPAN>>, pre_comment, &self::skip>,
- row<no_comment, is_any, no_comment, &self::push>,
- row<pre_comment, is<<SPAN CLASS='literal'>'*'</SPAN>>, comment, &self::skip>,
- row<pre_comment, is<<SPAN CLASS='literal'>'/'</SPAN>>, pre_comment, &self::push>,
- row<pre_comment, is_any, no_comment, &self::push_slash>,
- row<comment, is<<SPAN CLASS='literal'>'*'</SPAN>>, post_comment, &self::skip>,
- row<comment, is_any, comment, &self::skip>,
- row<post_comment, is<<SPAN CLASS='literal'>'/'</SPAN>>, no_comment, &self::skip>,
- row<post_comment, is<<SPAN CLASS='literal'>'*'</SPAN>>, post_comment, &self::skip>,
- row<post_comment, is_any, comment, &self::skip>
+ row<no_comment, is<<SPAN CLASS='literal'>'/'</SPAN>>, pre_comment, &self::skip>,
+ row<no_comment, is_any, no_comment, &self::push>,
+ row<pre_comment, is<<SPAN CLASS='literal'>'*'</SPAN>>, comment, &self::skip>,
+ row<pre_comment, is<<SPAN CLASS='literal'>'/'</SPAN>>, pre_comment, &self::push>,
+ row<pre_comment, is_any, no_comment, &self::push_slash>,
+ row<comment, is<<SPAN CLASS='literal'>'*'</SPAN>>, post_comment, &self::skip>,
+ row<comment, is_any, comment, &self::skip>,
+ row<post_comment, is<<SPAN CLASS='literal'>'/'</SPAN>>, no_comment, &self::skip>,
+ row<post_comment, is<<SPAN CLASS='literal'>'*'</SPAN>>, post_comment, &self::skip>,
+ row<post_comment, is_any, comment, &self::skip>
> transition_table;
};</PRE>
Modified: branches/release/libs/iostreams/doc/tutorial/line_wrapping_filters.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/line_wrapping_filters.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/line_wrapping_filters.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -80,7 +80,7 @@
{
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c;
<SPAN CLASS="keyword">while</SPAN> ((c = std::cin.get()) != <SPAN CLASS='numeric_literal'>EOF</SPAN>) {
- <SPAN CLASS="keyword">if</SPAN> (c != <SPAN CLASS="literal">'\n'</SPAN> && col_no_ >= line_length_)
+ <SPAN CLASS="keyword">if</SPAN> (c != <SPAN CLASS="literal">'\n'</SPAN> && col_no_ >= line_length_)
put_char(<SPAN CLASS="literal">'\n'</SPAN>);
put_char(c);
}
@@ -112,10 +112,10 @@
{ }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src);
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">void</SPAN> close(Sink&);
+ <SPAN CLASS="keyword">void</SPAN> close(Sink&);
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get_char(<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> line_length_;
@@ -140,7 +140,7 @@
<P>This function updates the column count based on the given character <CODE>c</CODE>, then returns <CODE>c</CODE>. Using <CODE>get_char</CODE>, you can implement <CODE>get</CODE> as follows:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
{
<SPAN CLASS="keyword">if</SPAN> (has_next_) {
has_next_ = <SPAN CLASS="keyword">false</SPAN>;
@@ -151,7 +151,7 @@
<SPAN CLASS="keyword">if</SPAN> ((c = iostreams::get(src)) == <SPAN CLASS="numeric_literal">EOF</SPAN> || c == WOULD_BLOCK)
<SPAN CLASS="keyword">return</SPAN> c;
- <SPAN CLASS="keyword">if</SPAN> (c != <SPAN CLASS="literal">'\n'</SPAN> && col_no_ >= line_length_) {
+ <SPAN CLASS="keyword">if</SPAN> (c != <SPAN CLASS="literal">'\n'</SPAN> && col_no_ >= line_length_) {
next_ = c;
has_next_ = <SPAN CLASS="keyword">true</SPAN>;
<SPAN CLASS="keyword">return</SPAN> get_char(<SPAN CLASS="literal">'\n'</SPAN>);
@@ -171,7 +171,7 @@
<P>Finally, the member function <CODE>close</CODE> resets the Filter's state:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">void</SPAN> close(Sink&)
+ <SPAN CLASS="keyword">void</SPAN> close(Sink&)
{
col_no_ = 0;
has_next_ = <SPAN CLASS="keyword">false</SPAN>;
@@ -194,13 +194,13 @@
{ }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">void</SPAN> close(Sink&);
+ <SPAN CLASS="keyword">void</SPAN> close(Sink&);
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put_char(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put_char(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> line_length_;
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> col_no_;
};
@@ -210,7 +210,7 @@
<P>Let's look first at the helper function <CODE>put_char</CODE>:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put_char(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put_char(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
{
<SPAN CLASS="keyword">if</SPAN> (!iostreams::put(dest, c))
<SPAN CLASS="keyword">return</SPAN> <SPAN CLASS="keyword">false</SPAN>;
@@ -224,9 +224,9 @@
<P>This function attempts to write the character <CODE>c</CODE> to the given Sink and updates the column count if successful. Using <CODE>put_char</CODE>, you can implement <CODE>put</CODE> as follows:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
{
- <SPAN CLASS="keyword">if</SPAN> (c != <SPAN CLASS="literal">'\n'</SPAN> && col_no_ >= line_length_ && !put_char(dest, <SPAN CLASS="literal">'\n'</SPAN>))
+ <SPAN CLASS="keyword">if</SPAN> (c != <SPAN CLASS="literal">'\n'</SPAN> && col_no_ >= line_length_ && !put_char(dest, <SPAN CLASS="literal">'\n'</SPAN>))
<SPAN CLASS="keyword">return</SPAN> <SPAN CLASS="keyword">false</SPAN>;
<SPAN CLASS="keyword">return</SPAN> put_char(dest, c);
}</PRE>
@@ -238,7 +238,7 @@
<P>Finally, the member function <CODE>close</CODE> resets the Filter's state:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">void</SPAN> close(Sink&) { col_no_ = 0; }</PRE>
+ <SPAN CLASS="keyword">void</SPAN> close(Sink&) { col_no_ = 0; }</PRE>
<!-- Begin Nav -->
Modified: branches/release/libs/iostreams/doc/tutorial/multichar_filters.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/multichar_filters.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/multichar_filters.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -49,7 +49,7 @@
{ };
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- std::streamsize read(Source& src, <SPAN CLASS='keyword'>char</SPAN>* s, std::streamsize n)
+ std::streamsize read(Source& src, <SPAN CLASS='keyword'>char</SPAN>* s, std::streamsize n)
{
<SPAN CLASS='comment'>// Read up to n filtered characters into the buffer s,</SPAN>
<SPAN CLASS='comment'>// returning the number of characters read or -1 for EOF.</SPAN>
@@ -108,7 +108,7 @@
{ }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- std::streamsize read(Source& src, <SPAN CLASS="keyword">char</SPAN>* s, std::streamsize n)
+ std::streamsize read(Source& src, <SPAN CLASS="keyword">char</SPAN>* s, std::streamsize n)
{
<SPAN CLASS="keyword">for</SPAN> (std::streamsize z = <SPAN CLASS='numeric_literal'>0</SPAN>; z < n; ++z) {
<SPAN CLASS="keyword">int</SPAN> c;
@@ -131,7 +131,7 @@
}
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = false; }
+ <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = false; }
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">char</SPAN> comment_char_;
<SPAN CLASS="keyword">bool</SPAN> skip_;
@@ -160,7 +160,7 @@
{ };
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- std::streamsize write(Sink& dest, <SPAN CLASS='keyword'>const</SPAN> <SPAN CLASS='keyword'>char</SPAN>* s, std::streamsize n)
+ std::streamsize write(Sink& dest, <SPAN CLASS='keyword'>const</SPAN> <SPAN CLASS='keyword'>char</SPAN>* s, std::streamsize n)
{
<SPAN CLASS='comment'>// Consume up to n filtered characters from the buffer s,</SPAN>
<SPAN CLASS='comment'>// writing filtered characters to dest. Return the number</SPAN>
@@ -194,7 +194,7 @@
<SPAN CLASS='keyword'>class</SPAN> my_output_filter : <SPAN CLASS='keyword'>public</SPAN> multichar_output_filter {
<SPAN CLASS='keyword'>public</SPAN>:
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- std::streamsize write(Sink& dest, <SPAN CLASS='keyword'>const</SPAN> <SPAN CLASS='keyword'>char</SPAN>* s, std::streamsize n);
+ std::streamsize write(Sink& dest, <SPAN CLASS='keyword'>const</SPAN> <SPAN CLASS='keyword'>char</SPAN>* s, std::streamsize n);
<SPAN CLASS='comment'>/* Other members */</SPAN>
};</PRE>
@@ -219,7 +219,7 @@
{ }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- std::streamsize write(Sink& dest, <SPAN CLASS="keyword">const</SPAN> char* s, std::streamsize n)
+ std::streamsize write(Sink& dest, <SPAN CLASS="keyword">const</SPAN> char* s, std::streamsize n)
{
std::streamsize z;
<SPAN CLASS="keyword">for</SPAN> (z = <SPAN CLASS='numeric_literal'>0</SPAN>; z < n; ++z) {
@@ -238,7 +238,7 @@
}
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = <SPAN CLASS="keyword">false</SPAN>; }
+ <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = <SPAN CLASS="keyword">false</SPAN>; }
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">char</SPAN> comment_char_;
<SPAN CLASS="keyword">bool</SPAN> skip_;
Modified: branches/release/libs/iostreams/doc/tutorial/shell_comments_filters.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/shell_comments_filters.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/shell_comments_filters.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -93,7 +93,7 @@
<SPAN CLASS='keyword'>typedef</SPAN> input_filter_tag category;
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS='keyword'>int</SPAN> get(Source& src)
+ <SPAN CLASS='keyword'>int</SPAN> get(Source& src)
{
<SPAN CLASS='comment'>// Attempt to produce one character of filtered</SPAN>
<SPAN CLASS='comment'>// data, reading from src as necessary. If successful,</SPAN>
@@ -113,7 +113,7 @@
<SPAN CLASS='keyword'>class</SPAN> my_input_filter : <SPAN CLASS='keyword'>public</SPAN> input_filter {
<SPAN CLASS='keyword'>public</SPAN>:
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS='keyword'>int</SPAN> get(Source& src);
+ <SPAN CLASS='keyword'>int</SPAN> get(Source& src);
<SPAN CLASS='comment'>/* Other members */</SPAN>
};</PRE>
@@ -135,7 +135,7 @@
{ }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
{
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c;
<SPAN CLASS="keyword">while</SPAN> (<SPAN CLASS="keyword">true</SPAN>) {
@@ -153,7 +153,7 @@
}
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = <SPAN CLASS="keyword">false</SPAN>; }
+ <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = <SPAN CLASS="keyword">false</SPAN>; }
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">char</SPAN> comment_char_;
<SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> skip_;
@@ -183,10 +183,10 @@
shell_comments_input_filter();
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">int</SPAN> get(Source& src);
+ <SPAN CLASS="keyword">int</SPAN> get(Source& src);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = <SPAN CLASS="keyword">false</SPAN>; }
+ <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = <SPAN CLASS="keyword">false</SPAN>; }
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">bool</SPAN> skip_;
};
@@ -215,7 +215,7 @@
<SPAN CLASS='keyword'>typedef</SPAN> output_filter_tag category;
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS='keyword'>bool</SPAN> put(Sink& dest, <SPAN CLASS='keyword'>int</SPAN> c)
+ <SPAN CLASS='keyword'>bool</SPAN> put(Sink& dest, <SPAN CLASS='keyword'>int</SPAN> c)
{
<SPAN CLASS='comment'>// Attempt to consume the given character of unfiltered</SPAN>
<SPAN CLASS='comment'>// data, writing filtered data to dest as appropriate. </SPAN>
@@ -236,7 +236,7 @@
<SPAN CLASS='keyword'>class</SPAN> my_output_filter : <SPAN CLASS='keyword'>public</SPAN> output_filter {
<SPAN CLASS='keyword'>public</SPAN>:
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS='keyword'>bool</SPAN> put(Sink& dest, <SPAN CLASS='keyword'>int</SPAN> c);
+ <SPAN CLASS='keyword'>bool</SPAN> put(Sink& dest, <SPAN CLASS='keyword'>int</SPAN> c);
<SPAN CLASS='comment'>/* Other members */</SPAN>
};</PRE>
@@ -257,7 +257,7 @@
{ }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
{
skip_ = c == comment_char_ ?
<SPAN CLASS="keyword">true</SPAN> :
@@ -272,7 +272,7 @@
}
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = <SPAN CLASS="keyword">false</SPAN>; }
+ <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = <SPAN CLASS="keyword">false</SPAN>; }
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">char</SPAN> comment_char_;
<SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> skip_;
Modified: branches/release/libs/iostreams/doc/tutorial/tab_expanding_filters.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/tab_expanding_filters.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/tab_expanding_filters.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -115,10 +115,10 @@
}
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src);
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">void</SPAN> close(Source&);
+ <SPAN CLASS="keyword">void</SPAN> close(Source&);
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get_char(<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> tab_size_;
@@ -143,7 +143,7 @@
<P>This function updates the column count based on the given character <CODE>c</CODE> and returns <CODE>c</CODE>. Using <CODE>get_char</CODE> you can implement <CODE>get</CODE> as follows:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> get(Source& src)
{
<SPAN CLASS="keyword">if</SPAN> (spaces_ > 0) {
--spaces_;
@@ -171,7 +171,7 @@
<P>As usual, the function <CODE>close</CODE> resets the Filter's state:</P>
-<PRE class="broken_ie"> <SPAN CLASS="keyword">void</SPAN> close(Source&)
+<PRE class="broken_ie"> <SPAN CLASS="keyword">void</SPAN> close(Source&)
{
col_no_ = 0;
spaces_ = 0;
@@ -196,13 +196,13 @@
}
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">void</SPAN> close(Sink&);
+ <SPAN CLASS="keyword">void</SPAN> close(Sink&);
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put_char(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put_char(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c);
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> tab_size_;
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> col_no_;
<SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> spaces_;
@@ -213,7 +213,7 @@
<P>The implemenation helper function <CODE>put_char</CODE> is the same as that of line_wrapping_output_filter::put_char
: it writes the given character to <CODE>std::cout</CODE> and increments the column number, unless the character is a newline, in which case the column number is reset.</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put_char(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put_char(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
{
<SPAN CLASS="keyword">if</SPAN> (!iostreams::put(dest, c))
<SPAN CLASS="keyword">return</SPAN> <SPAN CLASS="keyword">false</SPAN>;
@@ -227,7 +227,7 @@
<P>Using <CODE>put_char</CODE> you can implement <CODE>put</CODE> as follows:</P>
<PRE class="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
+ <SPAN CLASS="keyword"><SPAN CLASS="keyword">bool</SPAN></SPAN> put(Sink& dest, <SPAN CLASS="keyword"><SPAN CLASS="keyword">int</SPAN></SPAN> c)
{
for (; spaces_ > 0; --spaces_)
<SPAN CLASS="keyword">if</SPAN> (!put_char(dest, ' '))
@@ -250,7 +250,7 @@
<P>As usual, the function <CODE>close</CODE> resets the Filter's state:</P>
-<PRE class="broken_ie"> <SPAN CLASS="keyword">void</SPAN> close(Source&)
+<PRE class="broken_ie"> <SPAN CLASS="keyword">void</SPAN> close(Source&)
{
col_no_ = 0;
spaces_ = 0;
Modified: branches/release/libs/iostreams/doc/tutorial/unix2dos_filters.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/unix2dos_filters.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/unix2dos_filters.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -76,7 +76,7 @@
unix2dos_input_filter() : has_linefeed_(<SPAN CLASS='keyword'>false</SPAN>) { }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">int</SPAN> get(Source& src)
+ <SPAN CLASS="keyword">int</SPAN> get(Source& src)
{
<SPAN CLASS='comment'>// Handle unfinished business</SPAN>
<SPAN CLASS="keyword">if</SPAN> (has_linefeed_) {
@@ -95,7 +95,7 @@
}
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">void</SPAN> close(Source&);
+ <SPAN CLASS="keyword">void</SPAN> close(Source&);
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">bool</SPAN> has_linefeed_;
};
@@ -107,7 +107,7 @@
<P>As usual, the member function <CODE>close</CODE> reset's the Filter's state:</P>
<PRE CLASS="broken_ie"> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Source>
- <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = <SPAN CLASS="keyword">false</SPAN>; }</PRE>
+ <SPAN CLASS="keyword">void</SPAN> close(Source&) { skip_ = <SPAN CLASS="keyword">false</SPAN>; }</PRE>
<A NAME="unix2dos_output_filter"></A>
<H4><CODE>unix2dos_output_filter</CODE></H4>
@@ -124,13 +124,13 @@
unix2dos_output_filter() : has_linefeed_(<SPAN CLASS="keyword">false</SPAN>) { }
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">bool</SPAN> put(Sink& dest, <SPAN CLASS="keyword">int</SPAN> c);
+ <SPAN CLASS="keyword">bool</SPAN> put(Sink& dest, <SPAN CLASS="keyword">int</SPAN> c);
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">void</SPAN> close(Sink&) { has_linefeed_ = <SPAN CLASS="keyword">false</SPAN>; }
+ <SPAN CLASS="keyword">void</SPAN> close(Sink&) { has_linefeed_ = <SPAN CLASS="keyword">false</SPAN>; }
<SPAN CLASS="keyword">private</SPAN>:
<SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">bool</SPAN> put_char(Sink& dest, <SPAN CLASS="keyword">int</SPAN> c);
+ <SPAN CLASS="keyword">bool</SPAN> put_char(Sink& dest, <SPAN CLASS="keyword">int</SPAN> c);
<SPAN CLASS="keyword">bool</SPAN> has_linefeed_;
};
@@ -144,7 +144,7 @@
<P>Let's look first at the helper function <CODE>put_char</CODE>:</P>
<PRE CLASS='broken_ie'> <SPAN CLASS="keyword">template</SPAN><<SPAN CLASS="keyword">typename</SPAN> Sink>
- <SPAN CLASS="keyword">bool</SPAN> put_char(Sink& dest, <SPAN CLASS="keyword">int</SPAN> c)
+ <SPAN CLASS="keyword">bool</SPAN> put_char(Sink& dest, <SPAN CLASS="keyword">int</SPAN> c)
{
<SPAN CLASS="keyword">bool</SPAN> result;
<SPAN CLASS="keyword">if</SPAN> ((result = iostreams::put(dest, c)) == <SPAN CLASS="keyword">true</SPAN>) {
@@ -164,7 +164,7 @@
<P>Using <CODE>put_char</CODE> you can implement <CODE>put</CODE> as follows:</P>
-<PRE CLASS='broken_ie'> <SPAN CLASS="keyword">bool</SPAN> put(Sink& dest, <SPAN CLASS="keyword">int</SPAN> c)
+<PRE CLASS='broken_ie'> <SPAN CLASS="keyword">bool</SPAN> put(Sink& dest, <SPAN CLASS="keyword">int</SPAN> c)
{
<SPAN CLASS="keyword">if</SPAN> (c == <SPAN CLASS="literal">'\n'</SPAN>)
<SPAN CLASS="keyword">return</SPAN> has_linefeed_ ?
Modified: branches/release/libs/iostreams/doc/tutorial/writing_devices.html
==============================================================================
--- branches/release/libs/iostreams/doc/tutorial/writing_devices.html (original)
+++ branches/release/libs/iostreams/doc/tutorial/writing_devices.html 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -52,7 +52,7 @@
<SPAN CLASS='keyword'>int</SPAN> main()
{
io::stream_buffer<io::file_sink> buf(<SPAN CLASS='literal'>"log.txt"</SPAN>);
- std::ostream out(&buf);
+ std::ostream out(&buf);
<SPAN CLASS='comment'>// out writes to log.txt</SPAN>
}</PRE>
Modified: branches/release/libs/iostreams/test/restrict_test.cpp
==============================================================================
--- branches/release/libs/iostreams/test/restrict_test.cpp (original)
+++ branches/release/libs/iostreams/test/restrict_test.cpp 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -492,7 +492,7 @@
data_reps * data_length() + 2 * small_padding, '\n');
stream_offset off = small_padding,
len = data_reps * data_length();
- array ar(&src[0], &src[0] + src.size());
+ io::array ar(&src[0], &src[0] + src.size());
filtering_stream<seekable> io(BOOST_RESTRICT(ar, off, len));
BOOST_CHECK_MESSAGE(
test_seekable_in_chars(io),
@@ -504,7 +504,7 @@
vector<char> src(
data_reps * data_length() + small_padding, '\n');
stream_offset off = small_padding;
- array ar(&src[0], &src[0] + src.size());
+ io::array ar(&src[0], &src[0] + src.size());
filtering_stream<seekable> io(BOOST_RESTRICT(ar, off));
BOOST_CHECK_MESSAGE(
test_seekable_in_chars(io),
Modified: branches/release/libs/iostreams/test/tee_test.cpp
==============================================================================
--- branches/release/libs/iostreams/test/tee_test.cpp (original)
+++ branches/release/libs/iostreams/test/tee_test.cpp 2013-05-16 18:10:12 EDT (Thu, 16 May 2013)
@@ -240,6 +240,62 @@
}
}
+void test_std_io()
+{
+ {
+ temp_file dest1;
+ temp_file dest2;
+ filtering_ostream out;
+ std::ofstream stream1(dest1.name().c_str(), out_mode);
+ out.push(tee(stream1));
+ out.push(file_sink(dest2.name(), out_mode));
+ write_data_in_chunks(out);
+ BOOST_CHECK_MESSAGE(
+ compare_files(dest1.name(), dest2.name()),
+ "failed writing to a tee_device in chunks"
+ );
+ }
+ {
+ temp_file dest1;
+ temp_file dest2;
+ filtering_ostream out;
+ std::ofstream stream1(dest1.name().c_str(), out_mode);
+ out.push( tee ( stream1,
+ file_sink(dest2.name(), out_mode) ) );
+ write_data_in_chunks(out);
+ BOOST_CHECK_MESSAGE(
+ compare_files(dest1.name(), dest2.name()),
+ "failed writing to a tee_device in chunks"
+ );
+ }
+ {
+ temp_file dest1;
+ temp_file dest2;
+ filtering_ostream out;
+ std::ofstream stream2(dest2.name().c_str(), out_mode);
+ out.push( tee ( file_sink(dest1.name(), out_mode),
+ stream2 ) );
+ write_data_in_chunks(out);
+ BOOST_CHECK_MESSAGE(
+ compare_files(dest1.name(), dest2.name()),
+ "failed writing to a tee_device in chunks"
+ );
+ }
+ {
+ temp_file dest1;
+ temp_file dest2;
+ filtering_ostream out;
+ std::ofstream stream1(dest1.name().c_str(), out_mode);
+ std::ofstream stream2(dest2.name().c_str(), out_mode);
+ out.push(tee(stream1, stream2));
+ write_data_in_chunks(out);
+ BOOST_CHECK_MESSAGE(
+ compare_files(dest1.name(), dest2.name()),
+ "failed writing to a tee_device in chunks"
+ );
+ }
+}
+
void tee_composite_test()
{
// This test is probably redundant, given the above test and the tests in
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