[smart_holder] Keep parent alive when returning raw pointers (#4609)
* Avoid dangling pointers. * Add test for const ptr * Fix test failures. * Fix ClangTidy * fix emplace_back
parent
b37a1cd0
* Avoid dangling pointers. * Add test for const ptr * Fix test failures. * Fix ClangTidy * fix emplace_back
mentioned in commit bfb5fce4
·mentioned in commit bfb5fce4