bug: method override via overload
pragma
pragma_member at pathlink.com
Thu Feb 23 05:54:31 PST 2006
In article <dtjp93$1lra$1 at digitaldaemon.com>, Nick says...
>
>In article <dtg3cl$2ru6$1 at digitaldaemon.com>, pragma says...
>>
>>Anyway, my main problem with this behavior is that if Foo were a class, the
>>code in main() would compile and behave just fine. So why such an
>>inconsistency could be tolerated, is beyond me.
>
>Well actually it doesn't work, it behaves the same way. Try it :)
>
>Unlike many quirks from C++, Walter opted to keep this one. I'm not really sure
>either way if it is good or bad, though. Perhaps it would be good to change it
>since so many people find it counter-intuitive. I guess I've just gotten used to
>it from C++.
I stand corrected. Thank you for the lively discussion, and setting me
straight! :)
>Nick
>
>
- Eric Anderton
More information about the Digitalmars-d-bugs
mailing list