On Wed, Dec 16, 2009 at 5:03 PM, Ryan, Ray <Ray_Ryan@mentor.com> wrote: > In 8.11 the LRM states: > > A shallow copy executes in the following manner: > <snip> > Object handles are copied; this includes the object handles for covergroup > objects(see Clause 19). An exception is made for embedded covergroups (see > 19.4). The object handle ofan embedded covergroup shall be set to null in > the new object. > This raises an intriguing issue that I had missed. If a shallow copy is done, the user-written constructor is not executed. Since 19.4 also says that you can ONLY construct an embedded covergroup in the class's constructor, the conclusion surely must be that no object created using shallow-copy can ever have an embedded covergroup instance! Is this (a) a correct interpretation of the LRM, (b) desirable? -- Jonathan Bromley -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Wed Dec 16 09:28:17 2009
This archive was generated by hypermail 2.1.8 : Wed Dec 16 2009 - 09:29:08 PST