1 // Copyright 2019 Hans Dembinski
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt
5 // or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #include <boost/histogram/axis/integer.hpp>
8 #include <boost/histogram/make_histogram.hpp>
11 using namespace boost::histogram;
13 auto h = make_histogram(axis::integer<>(0, 5));
15 // invalid sample argument
19 h.fill(values, sample(values)); // invalid sample argument