summaryrefslogtreecommitdiff
path: root/boost/iostreams
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2014-12-11 18:55:56 +0900
committerChanho Park <chanho61.park@samsung.com>2014-12-11 18:55:56 +0900
commit08c1e93fa36a49f49325a07fe91ff92c964c2b6c (patch)
tree7a7053ceb8874b28ec4b868d4c49b500008a102e /boost/iostreams
parentbb4dd8289b351fae6b55e303f189127a394a1edd (diff)
downloadboost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.gz
boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.bz2
boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.zip
Imported Upstream version 1.57.0upstream/1.57.0
Diffstat (limited to 'boost/iostreams')
-rwxr-xr-x[-rw-r--r--]boost/iostreams/char_traits.hpp0
-rw-r--r--boost/iostreams/code_converter.hpp3
-rwxr-xr-x[-rw-r--r--]boost/iostreams/concepts.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/constants.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/copy.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/absolute_path.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/access_control.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/adapter/device_adapter.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/adapter/filter_adapter.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/adapter/non_blocking_adapter.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/adapter/output_iterator_adapter.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/add_facet.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/bool_trait_def.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/broken_overload_resolution/forward.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/call_traits.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/char_traits.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/codecvt_holder.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/config/auto_link.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/config/bzip2.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/config/codecvt.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/config/dyn_link.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/config/enable_warnings.hpp0
-rw-r--r--boost/iostreams/detail/config/gcc.hpp3
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/config/limits.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/config/overload_resolution.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/config/wide_streams.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/config/windows_posix.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/config/zlib.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/counted_array.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/default_arg.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/dispatch.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/double_object.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/enable_if_stream.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/error.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/execute.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/fstream.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/functional.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/ios.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/iostream.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/newline.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/param_type.hpp0
-rw-r--r--boost/iostreams/detail/path.hpp4
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/push.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/select.hpp0
-rw-r--r--boost/iostreams/detail/select_by_size.hpp3
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/streambuf.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/streambuf/linked_streambuf.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/template_params.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/translate_int_type.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/vc6/close.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/vc6/read.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/vc6/write.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/detail/wrap_unwrap.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/device/array.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/device/back_inserter.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/device/null.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/filter/regex.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/filter/stdio.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/filtering_stream.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/filtering_streambuf.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/flush.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/get.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/imbue.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/input_sequence.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/operations.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/operations_fwd.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/optimal_buffer_size.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/output_sequence.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/pipeline.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/put.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/putback.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/read.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/restrict.hpp0
-rwxr-xr-x[-rw-r--r--]boost/iostreams/seek.hpp0
-rw-r--r--boost/iostreams/tee.hpp16
-rwxr-xr-x[-rw-r--r--]boost/iostreams/traits_fwd.hpp0
76 files changed, 25 insertions, 4 deletions
diff --git a/boost/iostreams/char_traits.hpp b/boost/iostreams/char_traits.hpp
index 4234907e47..4234907e47 100644..100755
--- a/boost/iostreams/char_traits.hpp
+++ b/boost/iostreams/char_traits.hpp
diff --git a/boost/iostreams/code_converter.hpp b/boost/iostreams/code_converter.hpp
index 280a5d0974..7ac2ff3bef 100644
--- a/boost/iostreams/code_converter.hpp
+++ b/boost/iostreams/code_converter.hpp
@@ -393,7 +393,8 @@ std::streamsize code_converter<Device, Codevt, Alloc>::write
switch (result) {
case std::codecvt_base::partial:
- partial = true; // Fall through.
+ partial = true;
+ BOOST_FALLTHROUGH;
case std::codecvt_base::ok:
total = static_cast<std::streamsize>(nint - s);
break;
diff --git a/boost/iostreams/concepts.hpp b/boost/iostreams/concepts.hpp
index 1ea104e1c6..1ea104e1c6 100644..100755
--- a/boost/iostreams/concepts.hpp
+++ b/boost/iostreams/concepts.hpp
diff --git a/boost/iostreams/constants.hpp b/boost/iostreams/constants.hpp
index 85eb7e7cc8..85eb7e7cc8 100644..100755
--- a/boost/iostreams/constants.hpp
+++ b/boost/iostreams/constants.hpp
diff --git a/boost/iostreams/copy.hpp b/boost/iostreams/copy.hpp
index b9f748a461..b9f748a461 100644..100755
--- a/boost/iostreams/copy.hpp
+++ b/boost/iostreams/copy.hpp
diff --git a/boost/iostreams/detail/absolute_path.hpp b/boost/iostreams/detail/absolute_path.hpp
index 090958a95e..090958a95e 100644..100755
--- a/boost/iostreams/detail/absolute_path.hpp
+++ b/boost/iostreams/detail/absolute_path.hpp
diff --git a/boost/iostreams/detail/access_control.hpp b/boost/iostreams/detail/access_control.hpp
index 2dce6ca8c2..2dce6ca8c2 100644..100755
--- a/boost/iostreams/detail/access_control.hpp
+++ b/boost/iostreams/detail/access_control.hpp
diff --git a/boost/iostreams/detail/adapter/device_adapter.hpp b/boost/iostreams/detail/adapter/device_adapter.hpp
index 9dd723a0fd..9dd723a0fd 100644..100755
--- a/boost/iostreams/detail/adapter/device_adapter.hpp
+++ b/boost/iostreams/detail/adapter/device_adapter.hpp
diff --git a/boost/iostreams/detail/adapter/filter_adapter.hpp b/boost/iostreams/detail/adapter/filter_adapter.hpp
index a2ab49250b..a2ab49250b 100644..100755
--- a/boost/iostreams/detail/adapter/filter_adapter.hpp
+++ b/boost/iostreams/detail/adapter/filter_adapter.hpp
diff --git a/boost/iostreams/detail/adapter/non_blocking_adapter.hpp b/boost/iostreams/detail/adapter/non_blocking_adapter.hpp
index 1457032c71..1457032c71 100644..100755
--- a/boost/iostreams/detail/adapter/non_blocking_adapter.hpp
+++ b/boost/iostreams/detail/adapter/non_blocking_adapter.hpp
diff --git a/boost/iostreams/detail/adapter/output_iterator_adapter.hpp b/boost/iostreams/detail/adapter/output_iterator_adapter.hpp
index 2944f25d75..2944f25d75 100644..100755
--- a/boost/iostreams/detail/adapter/output_iterator_adapter.hpp
+++ b/boost/iostreams/detail/adapter/output_iterator_adapter.hpp
diff --git a/boost/iostreams/detail/add_facet.hpp b/boost/iostreams/detail/add_facet.hpp
index 65a8951444..65a8951444 100644..100755
--- a/boost/iostreams/detail/add_facet.hpp
+++ b/boost/iostreams/detail/add_facet.hpp
diff --git a/boost/iostreams/detail/bool_trait_def.hpp b/boost/iostreams/detail/bool_trait_def.hpp
index c3fb9d587b..c3fb9d587b 100644..100755
--- a/boost/iostreams/detail/bool_trait_def.hpp
+++ b/boost/iostreams/detail/bool_trait_def.hpp
diff --git a/boost/iostreams/detail/broken_overload_resolution/forward.hpp b/boost/iostreams/detail/broken_overload_resolution/forward.hpp
index 4444916c3a..4444916c3a 100644..100755
--- a/boost/iostreams/detail/broken_overload_resolution/forward.hpp
+++ b/boost/iostreams/detail/broken_overload_resolution/forward.hpp
diff --git a/boost/iostreams/detail/call_traits.hpp b/boost/iostreams/detail/call_traits.hpp
index 6b04c7a656..6b04c7a656 100644..100755
--- a/boost/iostreams/detail/call_traits.hpp
+++ b/boost/iostreams/detail/call_traits.hpp
diff --git a/boost/iostreams/detail/char_traits.hpp b/boost/iostreams/detail/char_traits.hpp
index 2ee2fd0d4f..2ee2fd0d4f 100644..100755
--- a/boost/iostreams/detail/char_traits.hpp
+++ b/boost/iostreams/detail/char_traits.hpp
diff --git a/boost/iostreams/detail/codecvt_holder.hpp b/boost/iostreams/detail/codecvt_holder.hpp
index 6d6e1cf179..6d6e1cf179 100644..100755
--- a/boost/iostreams/detail/codecvt_holder.hpp
+++ b/boost/iostreams/detail/codecvt_holder.hpp
diff --git a/boost/iostreams/detail/config/auto_link.hpp b/boost/iostreams/detail/config/auto_link.hpp
index 55f954b64f..55f954b64f 100644..100755
--- a/boost/iostreams/detail/config/auto_link.hpp
+++ b/boost/iostreams/detail/config/auto_link.hpp
diff --git a/boost/iostreams/detail/config/bzip2.hpp b/boost/iostreams/detail/config/bzip2.hpp
index d716fd169c..d716fd169c 100644..100755
--- a/boost/iostreams/detail/config/bzip2.hpp
+++ b/boost/iostreams/detail/config/bzip2.hpp
diff --git a/boost/iostreams/detail/config/codecvt.hpp b/boost/iostreams/detail/config/codecvt.hpp
index 7c6cb1f385..7c6cb1f385 100644..100755
--- a/boost/iostreams/detail/config/codecvt.hpp
+++ b/boost/iostreams/detail/config/codecvt.hpp
diff --git a/boost/iostreams/detail/config/dyn_link.hpp b/boost/iostreams/detail/config/dyn_link.hpp
index 518e0b03ce..518e0b03ce 100644..100755
--- a/boost/iostreams/detail/config/dyn_link.hpp
+++ b/boost/iostreams/detail/config/dyn_link.hpp
diff --git a/boost/iostreams/detail/config/enable_warnings.hpp b/boost/iostreams/detail/config/enable_warnings.hpp
index 5712f36442..5712f36442 100644..100755
--- a/boost/iostreams/detail/config/enable_warnings.hpp
+++ b/boost/iostreams/detail/config/enable_warnings.hpp
diff --git a/boost/iostreams/detail/config/gcc.hpp b/boost/iostreams/detail/config/gcc.hpp
index e8512098ce..a1d57b081f 100644
--- a/boost/iostreams/detail/config/gcc.hpp
+++ b/boost/iostreams/detail/config/gcc.hpp
@@ -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
diff --git a/boost/iostreams/detail/config/limits.hpp b/boost/iostreams/detail/config/limits.hpp
index 155d6b0a69..155d6b0a69 100644..100755
--- a/boost/iostreams/detail/config/limits.hpp
+++ b/boost/iostreams/detail/config/limits.hpp
diff --git a/boost/iostreams/detail/config/overload_resolution.hpp b/boost/iostreams/detail/config/overload_resolution.hpp
index bbdd442788..bbdd442788 100644..100755
--- a/boost/iostreams/detail/config/overload_resolution.hpp
+++ b/boost/iostreams/detail/config/overload_resolution.hpp
diff --git a/boost/iostreams/detail/config/wide_streams.hpp b/boost/iostreams/detail/config/wide_streams.hpp
index 425875e1f8..425875e1f8 100644..100755
--- a/boost/iostreams/detail/config/wide_streams.hpp
+++ b/boost/iostreams/detail/config/wide_streams.hpp
diff --git a/boost/iostreams/detail/config/windows_posix.hpp b/boost/iostreams/detail/config/windows_posix.hpp
index 4e73c50d0d..4e73c50d0d 100644..100755
--- a/boost/iostreams/detail/config/windows_posix.hpp
+++ b/boost/iostreams/detail/config/windows_posix.hpp
diff --git a/boost/iostreams/detail/config/zlib.hpp b/boost/iostreams/detail/config/zlib.hpp
index 9283e4caa9..9283e4caa9 100644..100755
--- a/boost/iostreams/detail/config/zlib.hpp
+++ b/boost/iostreams/detail/config/zlib.hpp
diff --git a/boost/iostreams/detail/counted_array.hpp b/boost/iostreams/detail/counted_array.hpp
index d37193e7ab..d37193e7ab 100644..100755
--- a/boost/iostreams/detail/counted_array.hpp
+++ b/boost/iostreams/detail/counted_array.hpp
diff --git a/boost/iostreams/detail/default_arg.hpp b/boost/iostreams/detail/default_arg.hpp
index 9364ca27fa..9364ca27fa 100644..100755
--- a/boost/iostreams/detail/default_arg.hpp
+++ b/boost/iostreams/detail/default_arg.hpp
diff --git a/boost/iostreams/detail/dispatch.hpp b/boost/iostreams/detail/dispatch.hpp
index b482e04319..b482e04319 100644..100755
--- a/boost/iostreams/detail/dispatch.hpp
+++ b/boost/iostreams/detail/dispatch.hpp
diff --git a/boost/iostreams/detail/double_object.hpp b/boost/iostreams/detail/double_object.hpp
index 69f6587753..69f6587753 100644..100755
--- a/boost/iostreams/detail/double_object.hpp
+++ b/boost/iostreams/detail/double_object.hpp
diff --git a/boost/iostreams/detail/enable_if_stream.hpp b/boost/iostreams/detail/enable_if_stream.hpp
index 2cdd7068cb..2cdd7068cb 100644..100755
--- a/boost/iostreams/detail/enable_if_stream.hpp
+++ b/boost/iostreams/detail/enable_if_stream.hpp
diff --git a/boost/iostreams/detail/error.hpp b/boost/iostreams/detail/error.hpp
index 57999d4ef5..57999d4ef5 100644..100755
--- a/boost/iostreams/detail/error.hpp
+++ b/boost/iostreams/detail/error.hpp
diff --git a/boost/iostreams/detail/execute.hpp b/boost/iostreams/detail/execute.hpp
index 14d1a48f80..14d1a48f80 100644..100755
--- a/boost/iostreams/detail/execute.hpp
+++ b/boost/iostreams/detail/execute.hpp
diff --git a/boost/iostreams/detail/fstream.hpp b/boost/iostreams/detail/fstream.hpp
index b8070a7291..b8070a7291 100644..100755
--- a/boost/iostreams/detail/fstream.hpp
+++ b/boost/iostreams/detail/fstream.hpp
diff --git a/boost/iostreams/detail/functional.hpp b/boost/iostreams/detail/functional.hpp
index a7b9b6bbb1..a7b9b6bbb1 100644..100755
--- a/boost/iostreams/detail/functional.hpp
+++ b/boost/iostreams/detail/functional.hpp
diff --git a/boost/iostreams/detail/ios.hpp b/boost/iostreams/detail/ios.hpp
index 4d34f8fdb0..4d34f8fdb0 100644..100755
--- a/boost/iostreams/detail/ios.hpp
+++ b/boost/iostreams/detail/ios.hpp
diff --git a/boost/iostreams/detail/iostream.hpp b/boost/iostreams/detail/iostream.hpp
index 45692b35a0..45692b35a0 100644..100755
--- a/boost/iostreams/detail/iostream.hpp
+++ b/boost/iostreams/detail/iostream.hpp
diff --git a/boost/iostreams/detail/newline.hpp b/boost/iostreams/detail/newline.hpp
index 41b5b5268d..41b5b5268d 100644..100755
--- a/boost/iostreams/detail/newline.hpp
+++ b/boost/iostreams/detail/newline.hpp
diff --git a/boost/iostreams/detail/param_type.hpp b/boost/iostreams/detail/param_type.hpp
index c10f1d8bb2..c10f1d8bb2 100644..100755
--- a/boost/iostreams/detail/param_type.hpp
+++ b/boost/iostreams/detail/param_type.hpp
diff --git a/boost/iostreams/detail/path.hpp b/boost/iostreams/detail/path.hpp
index 578b87ecff..a5d1ad330f 100644
--- a/boost/iostreams/detail/path.hpp
+++ b/boost/iostreams/detail/path.hpp
@@ -106,7 +106,7 @@ public:
// worth working around).
template<typename Path>
typename sfinae<typename Path::external_string_type, path&>::type
- operator=(const Path& p)
+ operator=(const Path& p)
{
init(p.external_file_string());
return *this;
@@ -116,7 +116,7 @@ public:
// Assignment operator taking a boost::filesystem3::path
template<typename Path>
typename sfinae<typename Path::codecvt_type, path&>::type
- operator=(const Path& p)
+ operator=(const Path& p)
{
init(p.native());
return *this;
diff --git a/boost/iostreams/detail/push.hpp b/boost/iostreams/detail/push.hpp
index c1e7d9aa5e..c1e7d9aa5e 100644..100755
--- a/boost/iostreams/detail/push.hpp
+++ b/boost/iostreams/detail/push.hpp
diff --git a/boost/iostreams/detail/select.hpp b/boost/iostreams/detail/select.hpp
index bfe1d09dea..bfe1d09dea 100644..100755
--- a/boost/iostreams/detail/select.hpp
+++ b/boost/iostreams/detail/select.hpp
diff --git a/boost/iostreams/detail/select_by_size.hpp b/boost/iostreams/detail/select_by_size.hpp
index 72934e5a92..e08ca3458b 100644
--- a/boost/iostreams/detail/select_by_size.hpp
+++ b/boost/iostreams/detail/select_by_size.hpp
@@ -146,7 +146,8 @@ template<unsigned Size> struct select_by_size;
//----------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 \
diff --git a/boost/iostreams/detail/streambuf.hpp b/boost/iostreams/detail/streambuf.hpp
index 49a48ce38f..49a48ce38f 100644..100755
--- a/boost/iostreams/detail/streambuf.hpp
+++ b/boost/iostreams/detail/streambuf.hpp
diff --git a/boost/iostreams/detail/streambuf/linked_streambuf.hpp b/boost/iostreams/detail/streambuf/linked_streambuf.hpp
index 10aedb89df..10aedb89df 100644..100755
--- a/boost/iostreams/detail/streambuf/linked_streambuf.hpp
+++ b/boost/iostreams/detail/streambuf/linked_streambuf.hpp
diff --git a/boost/iostreams/detail/template_params.hpp b/boost/iostreams/detail/template_params.hpp
index b07012fb82..b07012fb82 100644..100755
--- a/boost/iostreams/detail/template_params.hpp
+++ b/boost/iostreams/detail/template_params.hpp
diff --git a/boost/iostreams/detail/translate_int_type.hpp b/boost/iostreams/detail/translate_int_type.hpp
index 88b9341f74..88b9341f74 100644..100755
--- a/boost/iostreams/detail/translate_int_type.hpp
+++ b/boost/iostreams/detail/translate_int_type.hpp
diff --git a/boost/iostreams/detail/vc6/close.hpp b/boost/iostreams/detail/vc6/close.hpp
index f8936742b7..f8936742b7 100644..100755
--- a/boost/iostreams/detail/vc6/close.hpp
+++ b/boost/iostreams/detail/vc6/close.hpp
diff --git a/boost/iostreams/detail/vc6/read.hpp b/boost/iostreams/detail/vc6/read.hpp
index 1e01f665b9..1e01f665b9 100644..100755
--- a/boost/iostreams/detail/vc6/read.hpp
+++ b/boost/iostreams/detail/vc6/read.hpp
diff --git a/boost/iostreams/detail/vc6/write.hpp b/boost/iostreams/detail/vc6/write.hpp
index ee8b9488ff..ee8b9488ff 100644..100755
--- a/boost/iostreams/detail/vc6/write.hpp
+++ b/boost/iostreams/detail/vc6/write.hpp
diff --git a/boost/iostreams/detail/wrap_unwrap.hpp b/boost/iostreams/detail/wrap_unwrap.hpp
index 6e3d231422..6e3d231422 100644..100755
--- a/boost/iostreams/detail/wrap_unwrap.hpp
+++ b/boost/iostreams/detail/wrap_unwrap.hpp
diff --git a/boost/iostreams/device/array.hpp b/boost/iostreams/device/array.hpp
index 3e08f04470..3e08f04470 100644..100755
--- a/boost/iostreams/device/array.hpp
+++ b/boost/iostreams/device/array.hpp
diff --git a/boost/iostreams/device/back_inserter.hpp b/boost/iostreams/device/back_inserter.hpp
index 563e397918..563e397918 100644..100755
--- a/boost/iostreams/device/back_inserter.hpp
+++ b/boost/iostreams/device/back_inserter.hpp
diff --git a/boost/iostreams/device/null.hpp b/boost/iostreams/device/null.hpp
index 6a723218e6..6a723218e6 100644..100755
--- a/boost/iostreams/device/null.hpp
+++ b/boost/iostreams/device/null.hpp
diff --git a/boost/iostreams/filter/regex.hpp b/boost/iostreams/filter/regex.hpp
index e6efd6d8ae..e6efd6d8ae 100644..100755
--- a/boost/iostreams/filter/regex.hpp
+++ b/boost/iostreams/filter/regex.hpp
diff --git a/boost/iostreams/filter/stdio.hpp b/boost/iostreams/filter/stdio.hpp
index e2addf569c..e2addf569c 100644..100755
--- a/boost/iostreams/filter/stdio.hpp
+++ b/boost/iostreams/filter/stdio.hpp
diff --git a/boost/iostreams/filtering_stream.hpp b/boost/iostreams/filtering_stream.hpp
index 548ef0c60a..548ef0c60a 100644..100755
--- a/boost/iostreams/filtering_stream.hpp
+++ b/boost/iostreams/filtering_stream.hpp
diff --git a/boost/iostreams/filtering_streambuf.hpp b/boost/iostreams/filtering_streambuf.hpp
index e49bf612ee..e49bf612ee 100644..100755
--- a/boost/iostreams/filtering_streambuf.hpp
+++ b/boost/iostreams/filtering_streambuf.hpp
diff --git a/boost/iostreams/flush.hpp b/boost/iostreams/flush.hpp
index 73d160051c..73d160051c 100644..100755
--- a/boost/iostreams/flush.hpp
+++ b/boost/iostreams/flush.hpp
diff --git a/boost/iostreams/get.hpp b/boost/iostreams/get.hpp
index bb82204b79..bb82204b79 100644..100755
--- a/boost/iostreams/get.hpp
+++ b/boost/iostreams/get.hpp
diff --git a/boost/iostreams/imbue.hpp b/boost/iostreams/imbue.hpp
index 608481a505..608481a505 100644..100755
--- a/boost/iostreams/imbue.hpp
+++ b/boost/iostreams/imbue.hpp
diff --git a/boost/iostreams/input_sequence.hpp b/boost/iostreams/input_sequence.hpp
index 8e0e77b4f6..8e0e77b4f6 100644..100755
--- a/boost/iostreams/input_sequence.hpp
+++ b/boost/iostreams/input_sequence.hpp
diff --git a/boost/iostreams/operations.hpp b/boost/iostreams/operations.hpp
index 5da1610816..5da1610816 100644..100755
--- a/boost/iostreams/operations.hpp
+++ b/boost/iostreams/operations.hpp
diff --git a/boost/iostreams/operations_fwd.hpp b/boost/iostreams/operations_fwd.hpp
index e2380b12f9..e2380b12f9 100644..100755
--- a/boost/iostreams/operations_fwd.hpp
+++ b/boost/iostreams/operations_fwd.hpp
diff --git a/boost/iostreams/optimal_buffer_size.hpp b/boost/iostreams/optimal_buffer_size.hpp
index 79715b2cb8..79715b2cb8 100644..100755
--- a/boost/iostreams/optimal_buffer_size.hpp
+++ b/boost/iostreams/optimal_buffer_size.hpp
diff --git a/boost/iostreams/output_sequence.hpp b/boost/iostreams/output_sequence.hpp
index 36bd7e523b..36bd7e523b 100644..100755
--- a/boost/iostreams/output_sequence.hpp
+++ b/boost/iostreams/output_sequence.hpp
diff --git a/boost/iostreams/pipeline.hpp b/boost/iostreams/pipeline.hpp
index 1573e160c2..1573e160c2 100644..100755
--- a/boost/iostreams/pipeline.hpp
+++ b/boost/iostreams/pipeline.hpp
diff --git a/boost/iostreams/put.hpp b/boost/iostreams/put.hpp
index 5ad96ce629..5ad96ce629 100644..100755
--- a/boost/iostreams/put.hpp
+++ b/boost/iostreams/put.hpp
diff --git a/boost/iostreams/putback.hpp b/boost/iostreams/putback.hpp
index d0fabb311c..d0fabb311c 100644..100755
--- a/boost/iostreams/putback.hpp
+++ b/boost/iostreams/putback.hpp
diff --git a/boost/iostreams/read.hpp b/boost/iostreams/read.hpp
index 4443b62804..4443b62804 100644..100755
--- a/boost/iostreams/read.hpp
+++ b/boost/iostreams/read.hpp
diff --git a/boost/iostreams/restrict.hpp b/boost/iostreams/restrict.hpp
index e17eb8c965..e17eb8c965 100644..100755
--- a/boost/iostreams/restrict.hpp
+++ b/boost/iostreams/restrict.hpp
diff --git a/boost/iostreams/seek.hpp b/boost/iostreams/seek.hpp
index efa3c7daf0..efa3c7daf0 100644..100755
--- a/boost/iostreams/seek.hpp
+++ b/boost/iostreams/seek.hpp
diff --git a/boost/iostreams/tee.hpp b/boost/iostreams/tee.hpp
index 57a32ccd02..a940dc214d 100644
--- a/boost/iostreams/tee.hpp
+++ b/boost/iostreams/tee.hpp
@@ -204,10 +204,26 @@ private:
};
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); }
diff --git a/boost/iostreams/traits_fwd.hpp b/boost/iostreams/traits_fwd.hpp
index 7114f89b36..7114f89b36 100644..100755
--- a/boost/iostreams/traits_fwd.hpp
+++ b/boost/iostreams/traits_fwd.hpp