QPointer im Standard?
-
Gibts sowas wie QPointer http://doc.trolltech.com/4.3/qpointer.html auch in der C++ Standard Lib?
-
Nicht direkt. Es gibt allerdings Smart-Pointer. Im aktuellen Standard ist nur
auto_ptrenthalten, nützliche Smart-Pointers in der Boost-Bibliothek sind ausserdemscoped_ptrundshared_ptr.Eine gute Einführung findest du im entsprechenden Artikel.