Unsolved Can i use the same std::unique_ptr smart pointer in multiple Classes ?
Can i use the same std::unique_ptr in different classes ?
if that is the case how can i call this pointer ?
thank you :)
@dziko147 If you want to share a pointer then use std::shared_ptr and not std::unique_ptr...
thank you for your reply
Ok i will try this