[asterisk-scf-dev] auto_ptr

Simon Perreault simon.perreault at viagenie.ca
Tue Nov 30 07:44:00 CST 2010


On 2010-11-30 08:28, Kevin P. Fleming wrote:
> Besides all of that... auto_ptr was deprecated for a reason. It's fairly 
> easy to misuse, so I'd rather not see usage of it in our code if it can 
> be avoided, since it could lead to others copying that usage and not 
> understanding the subtleties of it.

Could it be possible to use auto_ptr for now and s/auto_ptr/unique_ptr/
when C++0x arrives, or is the usage that much different?

Simon
-- 
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
STUN/TURN server               --> http://numb.viagenie.ca



More information about the asterisk-scf-dev mailing list