1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
4 <TITLE>Localizable
</TITLE>
5 <LINK REL=
"stylesheet" HREF=
"../../../../boost.css">
6 <LINK REL=
"stylesheet" HREF=
"../theme/iostreams.css">
12 <H1 CLASS=
"title">Localizable
</H1>
20 A Localizable Filter or Device receives notifications when a stream or stream buffer which contains it has its
<CODE>std::locale
</CODE> set using
<CODE>std::basic_ios::imbue
</CODE> or
<CODE>std::basic_streambuf::pubimbue
</CODE>.
23 <H2>Refinement of
</H2>
26 <H2>Associated Types
</H2>
30 <TABLE CELLPADDING=
"2">
31 <TR><TD><CODE>L
</CODE></TD><TD>-
</TD><TD>A type which is a model of Localizable
</TD></TR>
32 <TR><TD><CODE>z
</CODE></TD><TD>-
</TD><TD>Object of type
<CODE>L
</CODE></TD></TR>
33 <TR><TD><CODE>loc
</CODE></TD><TD>-
</TD><TD>Object of type
<CODE>std::locale
</CODE></TD></TR>
36 <H2>Valid Expressions / Semantics
</H2>
38 <TABLE CELLPADDING=
"5" BORDER=
"1">
39 <TR><TH>Expression
</TH><TH>Expression Type
</TH><TH>Postcondition
</TH></TR>
42 <PRE CLASS=
"plain_code"><CODE><A HREF=
"../functions/imbue.html">boost::iostreams::imbue
</A>(z, loc)
</CODE></PRE>
44 <TD><CODE>void
</CODE></TD>
45 <TD><CODE>locale
</CODE>-sensitive i/o performed by
<CODE>z
</CODE> uses a copy of
<CODE>loc
</CODE> until a subsequent invocation of
<CODE>boost::iostreams::imbue
</CODE></TD>
52 Errors which occur during the execution of
<A CLASS=
"code" HREF=
"../functions/imbue.html"><CODE>imbue
</CODE></A> are be indicated by throwing exceptions.
57 <LI>Standard streams and stream buffers.
58 <LI><A HREF=
"../classes/code_converter.html"><CODE>code_converter
</CODE></A>
65 <P CLASS=
"copyright">© Copyright
2008 <a href=
"http://www.coderage.com/" target=
"_top">CodeRage, LLC
</a><br/>© Copyright
2004-
2007 <a href=
"http://www.coderage.com/turkanis/" target=
"_top">Jonathan Turkanis
</a></P>
67 Distributed under the Boost Software License, Version
1.0. (See accompanying file LICENSE_1_0.txt or copy at
<A HREF=
"http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt
</A>)