octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

classes with pointer data member


From: CdeMills
Subject: classes with pointer data member
Date: Fri, 21 Jan 2011 10:35:14 -0800 (PST)

Hello,

enclosed a changeset to ensure all classes with data member have valid copy
constructor/operator=
- when there was already one of them, generating the second was easy
- when there was none, I added a private prototype and no implementation, to
avoid problems with dangling pointers / double free / etc

Regards

Pascal

http://octave.1599824.n4.nabble.com/file/n3230300/copy-const.diff
copy-const.diff 
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/classes-with-pointer-data-member-tp3230300p3230300.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]