Why can't typeof() be used in member method?
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jul 26 07:05:12 PDT 2017
On Wednesday, 26 July 2017 at 13:51:05 UTC, Andre Pany wrote:
> How can I fix this issue?
I would just do
typeof((new TBounds).Left) m;
so then it is clear that you want a non-static member.
More information about the Digitalmars-d-learn
mailing list