COIN-OR::LEMON - Graph Library

Changeset 718:703ebf476a1d in lemon-1.2 for lemon/concepts


Ignore:
Timestamp:
08/20/09 20:34:30 (10 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
719:ba79e8d64448, 802:994c7df296c9
Phase:
public
Message:

Also check ReferenceMapTag? in concept checks (#312)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/concepts/maps.h

    r529 r718  
    183183      template<typename _ReferenceMap>
    184184      struct Constraints {
    185         void constraints() {
     185        typename enable_if<typename _ReferenceMap::ReferenceMapTag, void>::type
     186        constraints() {
    186187          checkConcept<ReadWriteMap<K, T>, _ReferenceMap >();
    187188          ref = m[key];
Note: See TracChangeset for help on using the changeset viewer.