Support `boost::rational` as value type for `axis::regular`
Open
easy
enhancement
help wanted
- Dominant language
- C++
- Stars
- 334
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
```cpp
#include
#include
namespace bh = boost::histogram;
int main() {
using R = bh::axis::regular>;
auto h = bh::make_histogram(R(10, 0, 1));
}
```
This currently triggers a static_assert, but should be supported.
Contributor guide
Assessment
This issue has not been assessed yet.