boostorg / boostorg/histogram

Support `boost::rational` as value type for `axis::regular`

Open
#337 2 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.