histogram/test/detail_replace_default_test.cpp
2019-06-08 16:28:56 +02:00

21 lines
597 B
C++

// 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_default.hpp>
#include "std_ostream.hpp"
using namespace boost::histogram::detail;
int main() {
BOOST_TEST_TRAIT_SAME(replace_default<boost::use_default, char>, char);
BOOST_TEST_TRAIT_SAME(replace_default<int, char>, int);
return boost::report_errors();
}