Boost C++ Libraries: Ticket #5275: result_of clash in interprocess tests https://svn.boost.org/trac10/ticket/5275 <p> Lots of interprocess tests have: </p> <p> using namespace boost; using namespace std; </p> <p> and then use result_of. This causes clashes for libraries (such as libc++) which are starting to add support for std::result_of. </p> <p> I can see two obvious fixes: </p> <p> 1) Remove the 'using namespace std;'. They don't actually seem to be doing anything. </p> <p> 2) Qualify result_of with boost:: </p> <p> I assume (1) is the obvious fix. Except I wondered if the 'using namespace std' in most tests was there for some reason? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5275 Trac 1.4.3 Chris Jefferson Mon, 07 Mar 2011 11:44:15 GMT attachment set https://svn.boost.org/trac10/ticket/5275 https://svn.boost.org/trac10/ticket/5275 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fusion-std.patch</span> </li> </ul> <p> Removes 'using namespace std' from conflicting tests. Adds 'std::' to count and endl in the one test which did not have them. </p> Ticket Steven Watanabe Sun, 13 Mar 2011 22:16:18 GMT component changed; owner set https://svn.boost.org/trac10/ticket/5275#comment:1 https://svn.boost.org/trac10/ticket/5275#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Ion Gaztañaga</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">interprocess</span> </li> </ul> Ticket Chris Jefferson Fri, 01 Apr 2011 13:41:24 GMT attachment set https://svn.boost.org/trac10/ticket/5275 https://svn.boost.org/trac10/ticket/5275 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fusion-std2.patch</span> </li> </ul> <p> Updated patch </p> Ticket Chris Jefferson Fri, 01 Apr 2011 13:42:40 GMT <link>https://svn.boost.org/trac10/ticket/5275#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5275#comment:2</guid> <description> <p> Added a new patch, that fixes the existing issues, and one new one, by adding a boost::fusion:: to a couple of result_of calls, in a test. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Fri, 01 Apr 2011 16:52:32 GMT</pubDate> <title>owner, component changed https://svn.boost.org/trac10/ticket/5275#comment:3 https://svn.boost.org/trac10/ticket/5275#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Ion Gaztañaga</span> to <span class="trac-author">danmarsden</span> </li> <li><strong>component</strong> <span class="trac-field-old">interprocess</span> → <span class="trac-field-new">fusion</span> </li> </ul> <p> using namespace std was removed from interprocess but those patches are for boost::fusion so I guess we need to change the bug owner. </p> Ticket Ion Gaztañaga Fri, 01 Apr 2011 16:53:06 GMT owner changed https://svn.boost.org/trac10/ticket/5275#comment:4 https://svn.boost.org/trac10/ticket/5275#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">danmarsden</span> to <span class="trac-author">Joel de Guzman</span> </li> </ul> Ticket Joel de Guzman Fri, 01 Apr 2011 23:32:17 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5275#comment:5 https://svn.boost.org/trac10/ticket/5275#comment:5 <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> <p> patch applied. I'll commit as soon as all the tests pass. i'm closing this one. </p> Ticket