________________________________ From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org] On Behalf Of Surya Pratik Saha Sent: Tuesday, July 17, 2007 2:46 PM To: sv-bc@eda-stds.org; sv-ac@eda-stds.org Subject: [sv-bc] Can abstract class be instantiated? Hi, As per 1800 LRM (section 7.19, page 93), an abstract class can not be instantiated. An abstract class cannot be instantiated; it can only be derived. But later, in section 7.20, it is mentioned: Even though BasePacket is abstract, it can still be used to declare a variable: BasePacket packets[100]; What is the difference between an instance of a class and a variable declaration of class? -- Regards Surya -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Tue Jul 17 04:53:54 2007
This archive was generated by hypermail 2.1.8 : Tue Jul 17 2007 - 04:54:24 PDT