# Localizable

## Description

A Localizable Filter or Device receives notifications when a stream or stream buffer which contains it has its `std::locale` set using `std::basic_ios::imbue` or `std::basic_streambuf::pubimbue`.

## Refinement of

## Associated Types

## Notation

`L` | - | A type which is a model of Localizable
`z` | - | Object of type `L`
`loc` | - | Object of type `std::locale`

## Valid Expressions / Semantics

Expression | Expression Type | Postcondition
--- | --- | ---
    boost::iostreams::imbue(z, loc)
| `void` | `locale`-sensitive i/o performed by `z` uses a copy of `loc` until a subsequent invocation of `boost::iostreams::imbue`

## Exceptions

Errors which occur during the execution of `imbue` are be indicated by throwing exceptions.

## Models

- Standard streams and stream buffers.
- `code_converter`

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)