Pointer++ - News
Latest News Approved
auto_ptr and namespaces
posted by theuser, Sun 01 Feb 2009 03:44:15 PM UTC
posted by theuser, 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.
Normal Pointer and Checked Pointer
posted by theuser, Thu 18 Dec 2008 11:26:22 PM UTC
posted by theuser, Thu 18 Dec 2008 11:26:22 PM UTC
Two new classes were added:
- A Pointer-Class, which behaves like a normal pointer with the same problems but with support to the other classes of Pointer++.
- The checked_ptr, which is automatically set to NULL when its object was deleteted.
Plan for future:
A pointer like std::auto_ptr
Powered by Savane 3.15-f85b.
Corresponding source code