RE: [sv-ec] A question about copy constructors

From: Steven Sharp <sharp_at_.....>
Date: Thu Jan 18 2007 - 16:07:19 PST
>From: "Arturo Salz" <Arturo.Salz@synopsys.com>

>Yes. I do have a reason:
>  The copy constructor implies that an object should be copied.

And that copy inherently involves dereferencing the handle, which
is an error for a null handle.  There is a big difference between
copying a null handle, and copying what that handle points to.  The
first is legal, and the second is an error.  I agree with Arturo
on this one.

Steven Sharp
sharp@cadence.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jan 18 16:07:39 2007

This archive was generated by hypermail 2.1.8 : Thu Jan 18 2007 - 16:07:45 PST