COIN-OR::LEMON - Graph Library

Changeset 765:703ebf476a1d in lemon for lemon/concepts


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

Also check ReferenceMapTag? in concept checks (#312)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/concepts/maps.h

    r576 r765  
    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.