Boost C++ Libraries: Ticket #5784: fusion::pair operator>>/<< should not be templated on the stream type https://svn.boost.org/trac10/ticket/5784 <p> The operator&lt;&lt; and operator&gt;&gt; defined to work with fusion::pair are templated on the stream type. Unfortunately, this triggers bug 5783 which prevents lexical_cast from working with fusion::pair. </p> <p> I believe this is legitimately a bug in lexical_cast, but it has a trivial workaround in fusion - stop templating these operators on the stream type. The stream operators for pair and unused both template on the stream type, but the stream operators for sequences do not, and I see no reason for the difference. </p> <p> A patch is attached. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5784 Trac 1.4.3 gredner@… Mon, 15 Aug 2011 02:29:59 GMT attachment set https://svn.boost.org/trac10/ticket/5784 https://svn.boost.org/trac10/ticket/5784 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">stream.patch</span> </li> </ul> <p> Patch against current trunk </p> Ticket Joel de Guzman Mon, 15 Aug 2011 10:53:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5784#comment:1 https://svn.boost.org/trac10/ticket/5784#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket