grauzone wrote:
Andrei Alexandrescu wrote:
grauzone wrote:
Andrei Alexandrescu wrote:
3. It was mentioned in this group that if getopt() does not work in
SafeD, then SafeD may as well pack and go home. I agree. We need to
make it work. Three ideas discussed with Walter:
If that's such an issue, why don't you just change it and use a
struct defined by the user? structs are natural name-value pairs that
work at compile time, and they can always be returned from functions.
No reply to this one? I would have been curious.
You mean use a struct for the string-value pair? A struct cannot have a
ref member, so it would still need to store a pointer. (But maybe I
misunderstood the point.)
Andrei