From 68bee938de6acd93fb3c27033547c32a4e85153a Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 13 Jan 2021 11:23:50 -0800 Subject: [PATCH] Adding MISSING comments in operator std::unique_ptr. --- tests/test_classh_wip.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/test_classh_wip.cpp b/tests/test_classh_wip.cpp index 66d0ab3a4..bbdc3f3d3 100644 --- a/tests/test_classh_wip.cpp +++ b/tests/test_classh_wip.cpp @@ -362,7 +362,10 @@ struct type_caster> : smart_holder_type_caster_load template using cast_op_type = std::unique_ptr; - operator std::unique_ptr() { return smhldr_ptr->as_unique_ptr(); } + operator std::unique_ptr() { + // MISSING: value_and_holder value_ptr reset, deregister_instance. + return smhldr_ptr->as_unique_ptr(); + } }; template <> @@ -378,7 +381,10 @@ struct type_caster> : smart_holder_type_caster_load< template using cast_op_type = std::unique_ptr; - operator std::unique_ptr() { return smhldr_ptr->as_unique_ptr(); } + operator std::unique_ptr() { + // MISSING: value_and_holder value_ptr reset, deregister_instance. + return smhldr_ptr->as_unique_ptr(); + } }; } // namespace detail