1 // Copyright 2019 Hans Dembinski 2 // 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) 6 7 #include <boost/histogram/axis/regular.hpp> 8 #include <boost/histogram/make_histogram.hpp> 9 #include <vector> 10 11 using namespace boost::histogram; 12 main()13int main() { 14 // first and second arguments switched 15 (void)make_histogram_with(axis::regular<>(3, 0, 1), std::vector<int>{}); 16 } 17