COIN-OR::LEMON - Graph Library

Changeset 891:74589d20dbc3 in lemon-0.x for src/hugo/sym_map.h


Ignore:
Timestamp:
09/21/04 00:57:48 (20 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1199
Message:

template<typename CMap> Map(const CMap&) like constructors and
assigns are removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/sym_map.h

    r844 r891  
    104104      : MapImpl(static_cast<const MapImpl&>(copy)) {}
    105105
    106     /** Constructor to copy a map of an other map type.
    107      */
    108     template <typename CMap> SymMap(const CMap& copy)
    109       : MapImpl(copy) {}
    110 
    111106    /** Assign operator to copy a map of the same map type.
    112107     */
     
    116111    }
    117112
    118     /** Assign operator to copy a map of an other map type.
    119      */
    120     template <typename CMap> SymMap& operator=(const CMap& copy) {
    121       MapImpl::operator=(copy);
    122       return *this;
    123     }
    124    
    125113    /** Add a new key to the map. It called by the map registry.
    126114     */
Note: See TracChangeset for help on using the changeset viewer.