# Release Notes

### 1.35

1. The semantics of `close` has been modified:

- Calling `close` with a `std::ios_base::openmode` other than `in` or `out` is deprecated.
- A new overload of `close` taking a single Device argument has been provided as a convenience.
- DualUseFilters receive only one closure notification.
- Generic streams and stream buffers and filtering streams and stream buffers are now Closable. For filtering streams and stream buffers, `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.

Revised 02 Feb 2008

© 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)