This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [setup] Why doesPackageSpecificationhaveaprivatecopy-constructor? (Robert?)


On Wed, 2004-09-01 at 08:12 +0100, Max Bowsher wrote:
> Robert Collins wrote:

> > Have you heard of the 'rule of 3' ?
> 
> No. Apparently I need to do some reading.

http://www.parashift.com/c++-faq-lite/coding-standards.html#faq-27.9

"A class with any of {destructor, assignment operator, copy constructor}
generally needs all 3"

Cheers,
Rob

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]