From cf6a8079b48a031f1985c7760c1bea0dcae67558 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Mon, 27 Apr 2015 22:13:28 +0200 Subject: [PATCH] TODOs --- pointer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/pointer.h b/pointer.h index 428698d5..d7337727 100644 --- a/pointer.h +++ b/pointer.h @@ -9,6 +9,7 @@ namespace cpputils { /** * dynamic_cast implementation for unique_ptr (moving unique_ptr into a unique_ptr of different type) */ +//TODO Also allow passing a rvalue reference, otherwise dynamic_pointer_move(func()) won't work template inline std::unique_ptr dynamic_pointer_move(std::unique_ptr &source) { //TODO Deleter