Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello , 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