Imported Upstream version 1.71.0
[platform/upstream/boost.git] / libs / histogram / test / detail_replace_default_test.cpp
1 // Copyright 2015-2017 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/core/lightweight_test.hpp>
8 #include <boost/core/lightweight_test_trait.hpp>
9 #include <boost/histogram/detail/replace_default.hpp>
10 #include "std_ostream.hpp"
11
12 using namespace boost::histogram::detail;
13
14 int main() {
15
16   BOOST_TEST_TRAIT_SAME(replace_default<boost::use_default, char>, char);
17   BOOST_TEST_TRAIT_SAME(replace_default<int, char>, int);
18
19   return boost::report_errors();
20 }