[Issue 1528] [tdpl] overloading template and non-template functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 25 11:18:43 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1528
Jonathan M Davis <jmdavisProg at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmdavisProg at gmx.com
--- Comment #7 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-08-25 11:18:39 PDT ---
> This bug causes problems with @disabled default constructors.
>From what I can tell, @disable this() doesn't work _at all_: bug# 7021
I don't think that this bug has anything to do with it.
And I wouldn't expect @disable this()(); to work anyway, because the function
that you're trying to disable doesn't exist. It would have to be instantiatied
to exist, and it's not possible to call a default constructor on a struct,
since they're not legal in the first place, so it can't be instantiated.
@disable this()(); should probably result in an error.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list