# OptimallyBuffered

## Description

A OptimallyBuffered Filter or Device provides a way for the Iostreams library to determine the best size of buffer to allocate for it if the user doesn't explicitly specify a buffer size.

## Refinement of

## Associated Types

## Notation

`O` | - | A type which is a model of OptimallyBuffered
`o` | - | Object of type `O`
`io` | - | Alias for namespace `boost::iostreams`

## Valid Expressions / Semantics

Expression | Expression Type | Semantics
--- | --- | ---
    io::optimal_buffer_size(o)
| `std::streamsize` | Returns the size of buffer that should be allocated for `o` if the user has not explicitly specified a buffer size.

## Models

- `basic_counter`

Revised 20 May, 2004

© Copyright Jonathan Turkanis, 2004

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)