Talk:Policies/Library Code Policy

< Talk:Policies
Revision as of 21:05, 29 January 2007 by Nikolaus (Talk | contribs)

Jump to: navigation, search

D Pointers

It should be mentioned, that when using d-pointers, the copy constructor and assignment operator either have to be implemented correctly or they have to be forbidden. The implicit copy constructor and assignment operator copy just the value of the pointer. The pointer to the former Private data will get lost (memory leakage).


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal