
19 Mar
2014
19 Mar
'14
6:11 a.m.
Hello, I declared an interval_map : interval_map<uint16_t, SomeEnumType> myMap; Later, I do : SomeEnumType enumValue = SOME_ENUM_VALUE; myMap.add(std::make_pair(disxrete_interval<uint16_t>(10,17), SOME_ENUM_VALUE); But that doesn't compile. It seems that ICL wants the += operator must eb defined for value type (why ???). What can I do ? Thanks.