| 495 | // vice versa. This could be static for g++, but not for clang++. |
| 496 | template <class OtherInstance> |
| 497 | void adopt_nested_ptr(OtherInstance* priv, void* data) { |
| 498 | priv->share_ptr(data); |
| 499 | priv->debug_lifecycle( |
| 500 | "Boxed pointer created, pointing inside memory owned by parent"); |
| 501 | } |
| 502 | |
| 503 | /** |
| 504 | * BoxedInstance::get_nested_interface_object: |
no test coverage detected