doc/named-param.dox
author alpar
Fri, 28 Jan 2005 15:19:34 +0000
changeset 1105 6777f0b0e7b5
parent 954 5b1ffef43d4c
child 1141 e5ee2726abe4
permissions -rw-r--r--
One more trial/approach for named params (Under constr.)
alpar@953
     1
/*!
alpar@954
     2
alpar@953
     3
\page named-param Named Parameters
alpar@953
     4
alpar@955
     5
\section named-func-param Named "Function" Parameters
alpar@955
     6
alpar@955
     7
alpar@955
     8
\section traits-classes Traits Classes
alpar@955
     9
alpar@955
    10
\section named-templ-param Named Class Template Parameters
alpar@954
    11
alpar@954
    12
Instead of creating a new traits class you can also use this adaptor class
alpar@954
    13
like this
alpar@954
    14
\code
alpar@954
    15
Dijkstra<>::SetPredNodeMap<NullMap<Node,Node> >
alpar@954
    16
\endcode
alpar@954
    17
It can also be used in conjunction with other named template
alpar@954
    18
parameters in arbitrary order.
alpar@954
    19
\code
alpar@954
    20
Dijkstra<>::SetDistMap<MyMap>::SetPredMap<NullMap<Node,Edge> >
alpar@954
    21
\endcode
alpar@954
    22
alpar@955
    23
\section named-templ-func-param Named "Function" Template Parameters
alpar@955
    24
alpar@953
    25
alpar@953
    26
*/