[sv-ec] class methods, constructor overloading

From: Neil Korpusik <Neil.Korpusik_at_.....>
Date: Fri Sep 21 2007 - 15:33:35 PDT
<forwarding email that want to the wrong email address>


-------- Original Message --------
Subject: 	FW: class methods, constructor overloading
Date: 	Wed, 19 Sep 2007 08:41:09 +0200
From: 	danielm <danielm@aldec.com.pl>
To: 	owner-sv-ec@eda.org





LRM doesn't explicitly explain if class method/constructor overloading
is allowed or forbidden. This feature is very usefull in other object
oriented languages like c++, so I wonder if SV will in future allow to
overload methods and constructors.

example:
class C;
  function void foo(int i);
  function void foo(byte i);//overloaded method
  function new (int i);
  function new (byte i);//ovrload constructor
endclass


Regards,

DANiel Mlynek

-- 
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 Fri Sep 21 15:34:03 2007

This archive was generated by hypermail 2.1.8 : Fri Sep 21 2007 - 15:34:25 PDT