# # patch "ChangeLog" # from [f35e9af2851fee94bd864cf118fee3e474faaa9e] # to [c326bfb20a13356783ffd2dec72c536422b6178e] # # patch "sanity.hh" # from [c7fe8c720645f18d069058004cc1c3dd9db3f00a] # to [61c096ade1e05ddc33e77708aad6d6d74e1e2f1e] # =============================================== --- ChangeLog f35e9af2851fee94bd864cf118fee3e474faaa9e +++ ChangeLog c326bfb20a13356783ffd2dec72c536422b6178e @@ -1,5 +1,10 @@ 2005-07-24 Nathaniel Smith + * sanity.hh (dump): Add a default 'dump' implementation for all + < + * tests/t_annotate_no_rev.at: New test. * testsuite.at: Add it. =============================================== --- sanity.hh c7fe8c720645f18d069058004cc1c3dd9db3f00a +++ sanity.hh 61c096ade1e05ddc33e77708aad6d6d74e1e2f1e @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include "boost/format.hpp" #include "boost/circular_buffer.hpp" @@ -234,6 +234,10 @@ #define M(obj) Musing(obj, #obj, __FILE__, __LINE__, __PRETTY_FUNCTION__); +template void +dump(T const & obj, std::ostream & out) +{ + out << obj; +} - #endif // __SANITY_HH__