>os</tt> (highest bit first). Informally, the output is the same as doing

<pre>
std::basic_string&lt;Char, Traits&gt; s;
boost::to_string(x, s):
os &lt;&lt; s;
</pre>

except that the stream inserter takes into accout the locale imbued into
<tt>os</tt>, which <tt>boost::to_string()</tt> can't do. Here is a more
precise specification, given in terms of "as if" rule: first, for each
valid position i into the bitset <tt>b</tt> let's put:

 <tt>character_of(b[i)]) = b[i]? os.widen('1') : os.widen('0');</tt>

L