lemon/concepts/maps.h
changeset 987 70b199792735
parent 963 761fe0846f49
equal deleted inserted replaced
18:eb60c7b526a1 19:48a34be924d5
    58           Value val = m[key];
    58           Value val = m[key];
    59           val = m[key];
    59           val = m[key];
    60           typename _ReadMap::Value own_val = m[own_key];
    60           typename _ReadMap::Value own_val = m[own_key];
    61           own_val = m[own_key];
    61           own_val = m[own_key];
    62 
    62 
    63           ignore_unused_variable_warning(key);
    63           ::lemon::ignore_unused_variable_warning(key);
    64           ignore_unused_variable_warning(val);
    64           ::lemon::ignore_unused_variable_warning(val);
    65           ignore_unused_variable_warning(own_key);
    65           ::lemon::ignore_unused_variable_warning(own_key);
    66           ignore_unused_variable_warning(own_val);
    66           ::lemon::ignore_unused_variable_warning(own_val);
    67         }
    67         }
    68         const Key& key;
    68         const Key& key;
    69         const typename _ReadMap::Key& own_key;
    69         const typename _ReadMap::Key& own_key;
    70         const _ReadMap& m;
    70         const _ReadMap& m;
    71         Constraints() {}
    71         Constraints() {}
    98       struct Constraints {
    98       struct Constraints {
    99         void constraints() {
    99         void constraints() {
   100           m.set(key, val);
   100           m.set(key, val);
   101           m.set(own_key, own_val);
   101           m.set(own_key, own_val);
   102 
   102 
   103           ignore_unused_variable_warning(key);
   103           ::lemon::ignore_unused_variable_warning(key);
   104           ignore_unused_variable_warning(val);
   104           ::lemon::ignore_unused_variable_warning(val);
   105           ignore_unused_variable_warning(own_key);
   105           ::lemon::ignore_unused_variable_warning(own_key);
   106           ignore_unused_variable_warning(own_val);
   106           ::lemon::ignore_unused_variable_warning(own_val);
   107         }
   107         }
   108         const Key& key;
   108         const Key& key;
   109         const Value& val;
   109         const Value& val;
   110         const typename _WriteMap::Key& own_key;
   110         const typename _WriteMap::Key& own_key;
   111         const typename _WriteMap::Value& own_val;
   111         const typename _WriteMap::Value& own_val;