Boost C++ Libraries: Ticket #3089: wostream not supported by units library https://svn.boost.org/trac10/ticket/3089 <p> Use of hard coded std::string in io.hpp (and other headers) of units library prevents printing units to wostream using &lt;&lt;. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3089 Trac 1.4.3 Steven Watanabe Wed, 27 May 2009 00:23:22 GMT owner, status changed https://svn.boost.org/trac10/ticket/3089#comment:1 https://svn.boost.org/trac10/ticket/3089#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matthias Schabel</span> to <span class="trac-author">Steven Watanabe</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Steven Watanabe Wed, 27 May 2009 01:15:31 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3089#comment:2 https://svn.boost.org/trac10/ticket/3089#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53293" title="Allow printing to wostream. Fixes #3089.">[53293]</a>) Allow printing to wostream. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3089" title="#3089: Feature Requests: wostream not supported by units library (closed: fixed)">#3089</a>. </p> Ticket daniel.macumber@… Tue, 02 Jun 2009 17:38:00 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/3089#comment:3 https://svn.boost.org/trac10/ticket/3089#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> This patch worked but did not cover output of absolute types to wostream. In absolute.hpp we need to add something similar to: </p> <p> template&lt;class Y&gt; std::wostream&amp; operator&lt;&lt;(std::wostream&amp; os,const absolute&lt;Y&gt;&amp; aval) { </p> <blockquote> <p> os &lt;&lt; L"absolute " &lt;&lt; aval.value(); </p> </blockquote> <p> </p> <blockquote> <p> return os; </p> </blockquote> <p> } </p> Ticket Steven Watanabe Tue, 02 Jun 2009 21:03:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3089#comment:4 https://svn.boost.org/trac10/ticket/3089#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53577" title="Allow absolute to be printed to std::wostream. Fixes #3089">[53577]</a>) Allow absolute to be printed to std::wostream. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3089" title="#3089: Feature Requests: wostream not supported by units library (closed: fixed)">#3089</a> </p> Ticket