gravatar
kpeter (Peter Kovacs)
kpeter@inf.elte.hu
Improvements in named-param.dox (ticket #147)
0 1 0
default
1 file changed with 5 insertions and 5 deletions:
↑ Collapse diff ↑
Show white space 6 line context
1
/* -*- C++ -*-
1
/* -*- mode: C++; indent-tabs-mode: nil; -*-
2 2
 *
3
 * This file is a part of LEMON, a generic C++ optimization library
3
 * This file is a part of LEMON, a generic C++ optimization library.
4 4
 *
5 5
 * Copyright (C) 2003-2008
6 6
 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
... ...
@@ -76,7 +76,7 @@
76 76

	
77 77
\section named-templ-func-param Named Function Template Parameters
78 78

	
79
A named parameter can also be a template functions. The usage is
79
A named parameter can also be a template function. The usage is
80 80
exactly the same, but the implementation behind is a kind of black
81 81
magic and they are the dirtiest part of the LEMON code.
82 82

	
... ...
@@ -103,14 +103,14 @@
103 103
be used as shown in the following example.
104 104

	
105 105
\code
106
Dijkstra<>::SetPredNodeMap<NullMap<Node,Node> >::Create
106
Dijkstra<>::SetPredMap<NullMap<Node,Arc> >::Create
107 107
\endcode
108 108

	
109 109
It can also be used in conjunction with other named template
110 110
parameters in arbitrary order.
111 111

	
112 112
\code
113
Dijkstra<>::SetDistMap<MyMap>::SetPredMap<NullMap<Node,Edge> >::Create
113
Dijkstra<>::SetDistMap<MyMap>::SetPredMap<NullMap<Node,Arc> >::Create
114 114
\endcode
115 115

	
116 116
The result will be an instantiated Dijkstra class, in which the
0 comments (0 inline)