@property - take it behind the woodshed and shoot it?

Stian Pedersen stian.pedersen at gmail.com
Sat Aug 10 03:29:49 PDT 2013


To add to the mess - or maybe suggest a new approach, what about:

class A
{
     int foo();
     void foo=(int a);
     private foo_;
}

Then a.foo = 42; calls the foo= method. No other conversions from 
a=b to a method invocation.

It may be suggested in one of these 46 pages which I haven't 
read. And it'll probably break a lot of stuff.


More information about the Digitalmars-d mailing list