MCPcopy Create free account
hub / github.com/pybind/pybind11 / ~Matrix

Method ~Matrix

tests/test_buffers.cpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 ~Matrix() {
77 print_destroyed(this,
78 std::to_string(m_rows) + "x" + std::to_string(m_cols) + " matrix");
79 delete[] m_data;
80 }
81
82 Matrix &operator=(const Matrix &s) {
83 if (this == &s) {

Callers

nothing calls this directly

Calls 1

print_destroyedFunction · 0.85

Tested by

no test coverage detected