1 // Copyright 2015-2017 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/core/lightweight_test.hpp>
8 #include <boost/core/lightweight_test_trait.hpp>
9 #include <boost/histogram/detail/replace_type.hpp>
10 #include "std_ostream.hpp"
12 using namespace boost::histogram::detail;
16 BOOST_TEST_TRAIT_SAME(replace_type<long, char, int>, long);
17 BOOST_TEST_TRAIT_SAME(replace_type<char, char, int>, int);
18 BOOST_TEST_TRAIT_SAME(replace_default<boost::use_default, char>, char);
19 BOOST_TEST_TRAIT_SAME(replace_default<int, char>, int);
21 return boost::report_errors();