Boost C++ Libraries: Ticket #7187: boost::rational doesn't provide stream operators for wide streams https://svn.boost.org/trac10/ticket/7187 <p> There are <code>std::istream&amp; operator&gt;&gt; (std::istream&amp; is, rational&lt;IntType&gt;&amp; r)</code> and <code>std::ostream&amp; operator&lt;&lt; (std::ostream&amp; os, const rational&lt;IntType&gt;&amp; r)</code>, but no wide stream versions. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7187 Trac 1.4.3 Mathias Hasselmann <mathias@…> Wed, 01 Aug 2012 09:29:23 GMT attachment set https://svn.boost.org/trac10/ticket/7187 https://svn.boost.org/trac10/ticket/7187 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">rational-wide-streams.patch</span> </li> </ul> <p> One possible patch </p> Ticket Mathias Hasselmann <mathias@…> Wed, 01 Aug 2012 09:40:36 GMT <link>https://svn.boost.org/trac10/ticket/7187#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7187#comment:1</guid> <description> <p> Actually it also would be worth to figure out why <code>std::wostringstream</code> accepts the &lt;&lt; operator without this patch applied. Appears like some unsafe typecast taking place. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 15 Aug 2012 19:39:10 GMT</pubDate> <title>type, component changed; owner set https://svn.boost.org/trac10/ticket/7187#comment:2 https://svn.boost.org/trac10/ticket/7187#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Jonathan Turkanis</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Feature Requests</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">rational</span> </li> </ul> Ticket Daryle Walker Fri, 30 Aug 2013 00:22:02 GMT <link>https://svn.boost.org/trac10/ticket/7187#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7187#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85519" title="Started modernizing Boost.Rational I/O (refs #7187)">[85519]</a>) Started modernizing Boost.Rational I/O (refs <a class="new ticket" href="https://svn.boost.org/trac10/ticket/7187" title="#7187: Feature Requests: boost::rational doesn't provide stream operators for wide streams (new)">#7187</a>) </p> </description> <category>Ticket</category> </item> </channel> </rss>