25template<
typename T>
void boost_check_array(
const T * ptr1,
const T * ptr2,
size_t sz)
28 for (
size_t i = 0 ; i < sz ; i++)
30 BOOST_REQUIRE_EQUAL(ptr1[i],ptr2[i]);
44static inline std::string demangle(
const char* name) {
49 std::unique_ptr<char, void(*)(
void*)> res {
50 abi::__cxa_demangle(name, NULL, NULL, &status),
54 return (status==0) ? res.get() : name ;