Files
histogram/test/histogram_static_fill_one_dimensional_tuple_fail.cpp
Hans Dembinski 5187b50656 fixed
2019-01-11 00:06:25 +01:00

15 lines
427 B
C++

// Copyright 2018 Hans Dembinski
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/histogram.hpp>
#include <tuple>
using namespace boost::histogram;
int main() {
auto a = make_static_histogram(axis::integer<>(0, 2));
a(std::make_tuple(1)); // fails, because tuple is intentionally not unpacked
}