static and non-static version of the one function

Jacob Carlborg doob at me.com
Wed Oct 24 13:02:19 PDT 2012


On 2012-10-24 21:32, Zhenya wrote:
> Hi!
> Tell me please,are there any way to declare two versions of one member
> function,
> something like this:
>
> int a;
>
> int.init //static version
> a.init //non-static version

No, not currently.

http://d.puremagic.com/issues/show_bug.cgi?id=3345

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list