4

Is there an built-in way to get the number of intervals in a boost::icl::interval_map? I can't find it in the documentation. The method size() has a different purpose it seems.

Jan Deinhard
  • 19,645
  • 24
  • 81
  • 137

2 Answers2

2

interval_count doesn't work?

In particular see the documentation here.

Note that due to the way that the library is designed, these are free standing functions that take your structure as a parameter.

Kornel Kisielewicz
  • 55,802
  • 15
  • 111
  • 149
0

There is also the iterative_size() function for this purpose.

Konstantin
  • 2,451
  • 1
  • 24
  • 26