Changeset 383:0d5a628cb184 in lemon-0.x for src/work/marci
- Timestamp:
- 04/23/04 18:48:54 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@513
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/bug/ansi_pedantic_bug.cc
r316 r383 28 28 GraphWrapper(Graph& _graph) : graph(&_graph) { } 29 29 30 template<typename T> class NodeMap : public Graph::NodeMap<T> { 30 template<typename T> class NodeMap : public Graph::template NodeMap<T> { 31 typedef typename Graph::template NodeMap<T> Parent; 31 32 public: 32 33 NodeMap(const GraphWrapper<Graph>& _G) : 33 Graph::NodeMap<T>(*(_G.graph)) { }34 Parent(*(_G.graph)) { } 34 35 }; 35 36 }; … … 48 49 void augmentOnShortestPath() { 49 50 ResGW res_graph(*g); 50 typename ResGW:: NodeMap<int> pred(res_graph);51 typename ResGW::template NodeMap<int> pred(res_graph); 51 52 } 52 53 };
Note: See TracChangeset
for help on using the changeset viewer.