| 204 | return m.empty(); |
| 205 | } |
| 206 | interval_set<K, C> get_interval_set() const { |
| 207 | interval_set<K, C> ret; |
| 208 | for (auto &&i: *this) { |
| 209 | ret.insert(i.get_off(), i.get_len()); |
| 210 | } |
| 211 | return ret; |
| 212 | } |
| 213 | template<template<typename, typename, typename ...> class ISC = std::map, bool strict = true> |
| 214 | void to_interval_set(interval_set<K, ISC, strict> &set) const { |
| 215 | for (auto &&i: *this) { |
no test coverage detected