TODOs
This commit is contained in:
parent
77a50c8eb4
commit
cf6a8079b4
@ -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<typename DST, typename SRC>
|
||||
inline std::unique_ptr<DST> dynamic_pointer_move(std::unique_ptr<SRC> &source) {
|
||||
//TODO Deleter
|
||||
|
Loading…
Reference in New Issue
Block a user