简体   繁体   English

有没有办法获取boost :: icl :: interval_map中的间隔数?

[英]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? 是否有内置方法来获取boost :: icl :: interval_map中的间隔数? I can't find it in the documentation. 我在文档中找不到它。 The method size() has a different purpose it seems. 方法size()的用途似乎不同。

interval_count doesn't work? interval_count不起作用?

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. 请注意,由于库的设计方式,这些都是独立功能,将您的结构作为参数。

为此,还有iterative_size()函数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM