[Boost-bugs] [Boost C++ Libraries] #4190: Unqualified 'tie' in libs/graph/example/helper.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #4190: Unqualified 'tie' in libs/graph/example/helper.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-05 12:19:00


#4190: Unqualified 'tie' in libs/graph/example/helper.hpp
-------------------------------------+--------------------------------------
 Reporter: anonymous | Owner: asutton
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: graph
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 There is an unqualified occurrence of 'tie' in
 libs/graph/example/helper.cpp which prevents compiling on clang++. The
 following trivial patch fixes it.

 Index: libs/graph/example/helper.hpp
 ===================================================================
 --- libs/graph/example/helper.hpp (revision 61786)
 +++ libs/graph/example/helper.hpp (working copy)
 @@ -24,7 +24,7 @@
      Vertex v;
      Iterator iter;
      bool inserted;
 - tie(iter, inserted) = vm.insert(make_pair(name, Vertex()));
 + boost::tie(iter, inserted) = vm.insert(make_pair(name, Vertex()));
      if(inserted) {
          // The name was unique so we need to add a vertex to the graph
          v = add_vertex(g);

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4190>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC