Searched refs:format_ptrs (Results 1 - 1 of 1) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dconstructor_stats.h231 inline const char *format_ptrs(const char *p) { return p; } function
233 py::str format_ptrs(T *p) { return "{:#x}"_s.format(reinterpret_cast<std::uintptr_t>(p)); } function
235 auto format_ptrs(T &&x) -> decltype(std::forward<T>(x)) { return std::forward<T>(x); }
239 py::print("###", py::type_id<T>(), "@", format_ptrs(inst), action,
240 format_ptrs(std::forward<Output>(output))...);

Completed in 5 milliseconds