19 Mar
2014
19 Mar
'14
12:15 p.m.
Hello, I declared an interval_map : interval_map<uint16_t, SomeEnumType> myMap; and two intervals : discrete_interval<uint16_t>( 0,10) interval_1; discrete_interval<uint16_t>(10,17) interval_2; Later, I do : myMap.insert(std::make_pair(interval_1, SOME_ENUM_VALUE_1); myMap.insert(std::make_pair(interval_2, SOME_ENUM_VALUE_2); The second insertion hasn't any effect. I tought that by default, the upper bound was excluded. If so, there isn't any overlapping. So why does that failt ? By debugging, I cna see that somewhere in the ICL code, the second value is tested as "absorbable"... Thanks for help.
3838
Age (days ago)
3838
Last active (days ago)
1 comments
1 participants
participants (1)
-
Oodini