mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-12 05:31:51 +00:00
10 lines
227 B
C++
10 lines
227 B
C++
#include <boost/histogram.hpp>
|
|
#include <vector>
|
|
|
|
using namespace boost::histogram;
|
|
int main() {
|
|
auto h = make_dynamic_histogram(axis::integer<>(0, 2));
|
|
struct non_convertible_to_int {};
|
|
h.at(non_convertible_to_int{});
|
|
}
|