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

Method ~ReturnTester

tests/test_eigen_matrix.cpp:241–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 ReturnTester() { print_created(this); }
240 ReturnTester(const ReturnTester &) = default;
241 ~ReturnTester() { print_destroyed(this); }
242 static Eigen::MatrixXd create() { return Eigen::MatrixXd::Ones(10, 10); }
243 // NOLINTNEXTLINE(readability-const-return-type)
244 static const Eigen::MatrixXd createConst() { return Eigen::MatrixXd::Ones(10, 10); }

Callers

nothing calls this directly

Calls 1

print_destroyedFunction · 0.85

Tested by

no test coverage detected