BOOST_ASSERT instead of assert.
Lots of fixes in this version, almost all are by Steven Watanabe.
File descriptor fixes:
open methods from file descriptors/handles for
file_descriptor, file_descriptor_source
and file_descriptor_sink. See
the documentation
for details. The old methods are still available if you define
BOOST_IOSTREAMS_USE_DEPRECATED
(#3517).
BOOST_IOSTREAMS_DECL to
file_descriptor_source and
file_descriptor_sink fixing their use in dynamic libraries
(#4335).
file_descriptors handling of
std::ios_base::openmode to match std::fstream.
In particular, truncate existing files, if
std::ios_base::trunc is passed
(#3323).
std::ios_base::app is passed
(#3323).
Compression/decompression fixes:
bzip2_decompressor instead of going into an infinite loop
(#2783).
gzip_decompressor a DualUseFilter
(#1579).
bzip2_decompressor to process multiple concatenated
streams
(#3853).
Other fixes:
aggregate_filter work with wide characters
(#3851).
symmetric_filter compile with wchar_t
(#3279).
boost/iostreams/detail/resolve.hpp compilation on xlc.
multichar_dual_use_filter_tag
(#3689).
concept_adapter work with custom char_traits
(#2356).
direct_streambuf and
indirect_streambuf are reset correctly on open
(#4102).
basic_file and basic_file_sync
Flushable
(#2998).
mapped_file
(#1612).
unique_path instead of tmpnam
(#2325).
More fixes.
write_device_impl<ostream_tag>
(#3839).
position_to_offset, only cast to
stream_offset after calculating _Myoff
(#3969).
ptrdiff_t is in std
(#2505).
Fixed many outstanding issues. Thanks to Richard Smith for working on a lot of these changes.
boost::throw_exception to throw exceptions
(#2094).
boost::ref(std::istream) in code_converter (#3011).
restrict and slice.
check.
Some old unreleased developments. There are still several open issues that should be fixed in the next version.
tee work with input
streams (#791).
1. The semantics of close has been modified:
close with a std::ios_base::openmode other than in or out is deprecated.close taking a single Device argument has been provided as a convenience.close calls pop.
These changes will break some existing code. They were necessary to resolve inconsistencies in the prior specification that resulted in a number of reported bugs.
2. The function template slice has been introduced as an alias of restrict, for platforms that treat restrict as a keyword.
3. Numerous bugs have been fixed, many relating to close, copy, and file descriptors.
© Copyright 2008 CodeRage, LLC
© Copyright 2004-2007 Jonathan Turkanis
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)