[Issue 14087] @disable this hides static opCall
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jan 30 22:05:20 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14087
Jonathan M Davis <issues.dlang at jmdavisProg.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |issues.dlang at jmdavisProg.co
| |m
--- Comment #1 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
Yeah. That sounds like a bug. static opCall isn't a constructor. At most, it's
a factory function, and it doesn't even have to be that (e.g. LocalTime and UTC
in std.datetime use it as the function to get at their singeltons - they're
classes though, not structs, and don't @disable this).
--
More information about the Digitalmars-d-bugs
mailing list