File indexing completed on 2025-01-18 09:38:11
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_HISTOGRAM_DETAIL_DEBUG_HPP
0008 #define BOOST_HISTOGRAM_DETAIL_DEBUG_HPP
0009
0010 #include <boost/config/pragma_message.hpp>
0011
0012 BOOST_PRAGMA_MESSAGE("debug.hpp included")
0013
0014 #include <boost/histogram/detail/type_name.hpp>
0015 #include <iostream>
0016
0017 #define DEBUG(x) \
0018 std::cout << __FILE__ << ":" << __LINE__ << " [" \
0019 << boost::histogram::detail::type_name<decltype(x)>() << "] " #x "=" << x \
0020 << std::endl;
0021
0022 #endif