// Copyright 2015-2019 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 #include #include #include "std_ostream.hpp" namespace dtl = boost::histogram::detail; struct Foo { int f1(char); int f2(long) const; static int f3(char, int); auto f4(char, int) { return 0; }; }; int main() { BOOST_TEST_TRAIT_SAME(dtl::args_type, std::tuple); BOOST_TEST_TRAIT_SAME(dtl::args_type, std::tuple); BOOST_TEST_TRAIT_SAME(dtl::args_type, std::tuple); BOOST_TEST_TRAIT_SAME(dtl::args_type, std::tuple); BOOST_TEST_TRAIT_SAME(dtl::arg_type, char); BOOST_TEST_TRAIT_SAME(dtl::arg_type, int); return boost::report_errors(); }