Skip to content
Snippets Groups Projects
Unverified Commit 4095ed53 authored by Luc Grosheintz's avatar Luc Grosheintz Committed by GitHub
Browse files

Use `using Range = std::array<Value, 2>`. (#319)

By using an `std::array` we can remove the differences between
`RawIndex` and `Selection::Ranges`. It also allows us to read
`Selection::Ranges` from disk directly via the HighFive API.

This change breaks API. One change needed is:
```
- ranges.emplace_back(i_begin, i_end);
+ ranges.push_back({i_begin, i_end});
```
another is:
```
- range.first < range.second;
+ std::get<0>(range) < std::get<1>(range);
```
both are valid for versions before and after this commit. Python code is unaffected.
parent a7d1453f
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment