| 364 | // Class that has verbose operator_new/operator_delete calls |
| 365 | struct NoisyAlloc { |
| 366 | NoisyAlloc(const NoisyAlloc &) = default; |
| 367 | explicit NoisyAlloc(int i) { py::print(py::str("NoisyAlloc(int {})").format(i)); } |
| 368 | explicit NoisyAlloc(double d) { py::print(py::str("NoisyAlloc(double {})").format(d)); } |
| 369 | ~NoisyAlloc() { py::print("~NoisyAlloc()"); } |
no test coverage detected