|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D - problem with property..
the following simple code doesn't compile.
dmd (v0.50) pretend uu is not a field
//=========
class CLS
{
void uu(int i) {}
int uu() { return 4; }
}
int main() {
CLS c = new CLS();
printf("%d\n\0", c.uu);
return 0;
}
//=========
Nov 23 2002
The property function stuff isn't implemented yet. Sorry. -Walter "Lloyd Dupont" <lloyd galador.net> wrote in message news:arno4p$8ia$1 digitaldaemon.com... Nov 23 2002
|