Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:11

0001 // Copyright 2019 Hans Dembinski
0002 //
0003 // Distributed under the Boost Software License, Version 1.0.
0004 // (See accompanying file LICENSE_1_0.txt
0005 // or copy at http://www.boost.org/LICENSE_1_0.txt)
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