12345678910111213141516171819202122 |
- // Copyright 2015-2017 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/core/lightweight_test.hpp>
- #include <boost/core/lightweight_test_trait.hpp>
- #include <boost/histogram/detail/replace_type.hpp>
- #include "std_ostream.hpp"
- using namespace boost::histogram::detail;
- int main() {
- BOOST_TEST_TRAIT_SAME(replace_type<long, char, int>, long);
- BOOST_TEST_TRAIT_SAME(replace_type<char, char, int>, int);
- BOOST_TEST_TRAIT_SAME(replace_default<boost::use_default, char>, char);
- BOOST_TEST_TRAIT_SAME(replace_default<int, char>, int);
- return boost::report_errors();
- }
|