[Issue 11947] std.typecons.Proxy incorrectly handles variadic member templates

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 20 22:48:54 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11947



--- Comment #2 from Stanislav Blinov <stanislav.blinov at gmail.com> 2014-01-20 22:48:49 PST ---
(In reply to comment #1)

> struct Impostor {
>     private RealThing p;
>     private @property RealThing* get() { return &p; }
>     mixin Proxy!get;
> 
>     void opCall(T...)(T args) {}
> }

Uh, sloppy copy, sorry about that. Impostor should not have that opCall at all,
only RealThing should.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list