newsPointer++ - News: auto_ptr and namespaces

 
 
Latest News
auto_ptr and namespaces posted by theuser, Sun 01 Feb 2009 03:44:15 PM UTC
Normal Pointer and Checked Pointer posted by theuser, Thu 18 Dec 2008 11:26:22 PM UTC

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-02a9.
Corresponding source code