Hello,--
This proposal aims to ease the basic use of smart pointers.
The following declarations:T*s ptr;T*u ptr;
T*w ptr;
would be equivalent to this ones:std::shared_ptr<T> ptr;std::unique_ptr<T> ptr;
std::weak_ptr<T> ptr;What do you think about it?
Regards,Aymeric Pellé
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals