COIN-OR::LEMON - Graph Library

Changeset 1669:66ae78d29f1e in lemon-0.x for lemon/maps.h


Ignore:
Timestamp:
08/31/05 15:29:32 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2185
Message:

Template assign operator for graph maps.

Some naming and coding conventions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/maps.h

    r1660 r1669  
    114114  ///This function just returns a \ref ConstMap class.
    115115  ///\relates ConstMap
    116   template<class V,class K>
    117   inline ConstMap<V,K> constMap(const K &k)
    118   {
    119     return ConstMap<V,K>(k);
     116  template<class K,class V>
     117  inline ConstMap<K,V> constMap(const V &v)
     118  {
     119    return ConstMap<K,V>(v);
    120120  }
    121121
Note: See TracChangeset for help on using the changeset viewer.