Boost C++ Libraries: Ticket #4190: Unqualified 'tie' in libs/graph/example/helper.hpp https://svn.boost.org/trac10/ticket/4190 <p> There is an unqualified occurrence of 'tie' in libs/graph/example/helper.cpp which prevents compiling on clang++. The following trivial patch fixes it. </p> <p> Index: libs/graph/example/helper.hpp =================================================================== --- libs/graph/example/helper.hpp (revision 61786) +++ libs/graph/example/helper.hpp (working copy) @@ -24,7 +24,7 @@ </p> <blockquote> <p> Vertex v; Iterator iter; bool inserted; </p> </blockquote> <ul><li> tie(iter, inserted) = vm.insert(make_pair(name, Vertex())); </li></ul><p> + boost::tie(iter, inserted) = vm.insert(make_pair(name, Vertex())); </p> <blockquote> <p> if(inserted) { </p> <blockquote> <p> <em> The name was unique so we need to add a vertex to the graph v = add_vertex(g); </em></p> </blockquote> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4190 Trac 1.4.3 Christopher Jefferson <chris@…> Wed, 05 May 2010 12:20:07 GMT attachment set https://svn.boost.org/trac10/ticket/4190 https://svn.boost.org/trac10/ticket/4190 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">graph.patch</span> </li> </ul> <p> Patch </p> Ticket Christopher Jefferson <chris@…> Wed, 05 May 2010 12:21:08 GMT cc set https://svn.boost.org/trac10/ticket/4190#comment:1 https://svn.boost.org/trac10/ticket/4190#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">chris@…</span> added </li> </ul> <p> Apologises, attached formatted patch, and also my e-mail address. </p> Ticket Jeremiah Willcock Wed, 05 May 2010 18:28:40 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4190#comment:2 https://svn.boost.org/trac10/ticket/4190#comment:2 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/61793" title="Patched unqualified calls to tie() using patch in #4190; fixes #4190">[61793]</a>) Patched unqualified calls to tie() using patch in <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4190" title="#4190: Bugs: Unqualified 'tie' in libs/graph/example/helper.hpp (closed: fixed)">#4190</a>; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4190" title="#4190: Bugs: Unqualified 'tie' in libs/graph/example/helper.hpp (closed: fixed)">#4190</a> </p> Ticket