Questions tagged [boost-icl]

Boost.Icl (Interval Container Library) is a C++ library providing interval sets and maps and aggregation of associated values.

Boost.Icl (Interval Container Library) is a C++ library providing interval sets and maps and aggregation of associated values.

32 questions
0
votes
2 answers

Why wouldn't boost::icl::interval_map add up the value?

Consider the following program: #include #include struct Value { explicit Value(int v) : v(v), is_empty(false) {} Value() : v(0), is_empty(true) {} Value& operator+=(const Value& other) { …
Alex Guteniev
  • 12,039
  • 2
  • 34
  • 79
0
votes
1 answer

Efficieny of stl::map of stl::sets

I believe I'd like to use boost::icl::interval_map to solve a problem (described here, I'll post a complete answer if interval_maps ultimately work.) I want to use an interval_map>, but the documentation for boost::icl…
Kestred
  • 63
  • 6
1 2
3