|
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 |
digitalmars.D - with () doesnt work with struct *s?
So apparently the with() construct is only for classes? That's kinda ... yeah. Minor fix before 1.0 I'd say. I'd like to use it with structs and struct pointers if at all possible. It'd sure clean up a lot of my database code here. 1 more thing, toString() in std.string should be renamed since it conflicts with Object.toString() when you're trying to use it in a class. referring to it as std.string.toString(char *) makes it a little cumbersome to use. Yes, I'm aware of aliases, and I'll use that to absolve the issue in my own code for now, but I think it should be given some consideration. Overall, I still think D is a great language :) Keep up the great work Walter and everyone else who's taken the time to share their opinions. Regards, James Dunne Dec 01 2004
In article <cols64$19jl$1 digitaldaemon.com>, James Dunne says...So apparently the with() construct is only for classes? Dec 01 2004
In article <com4hg$1jki$1 digitaldaemon.com>, Chris Sauls says...In article <cols64$19jl$1 digitaldaemon.com>, James Dunne says...So apparently the with() construct is only for classes? Dec 05 2004
|