newsPointer++ - News

 
 

auto_ptr and namespaces

Item posted by Jonathan Schmidt-Dominé <theuser> on Sun 01 Feb 2009 03:44:15 PM UTC.

All Pointer++ classes are now in the PPP-namespace.
The operator bool and the operator type* were added.
Now there is a class auto_pointer which has exclusive ownership like std::auto_ptr.

Alle Pointer++ Klassen sind nun im PPP-namespace.
Es gibt nun operator bool für Prüfungen wie if(ptr) und operator type* z. B. für dynamic_casts.
Es gibt eine neue Klasse auto_pointer, die wie std::auto_ptr die Objekte alleinig besitzt.

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code