c++boostintervalsinterval-treeboost-icl

Is there a way to get the number of intervals in a boost::icl::interval_map?


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.


Solution

  • 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.