Andrei Alexandrescu wrote:
BCS wrote:
Hello Andrei,
BCS wrote:
Hello Andrei,
Robert Fraser wrote:
This. Just issue an error/warning if something in the with shadows
something outside. That way, if the struct/class/template/whatever
changes, affected code will be notified.
No warning, error!
warning if it exist, error if used?
I go with Walter's stance: either compiles or not. Warnings suck.
Andrei
warningd are optional and off by default.
And that doesn't help either!
Andrei
If warnings exist, libraries must not do anything that creates a
warning. They are NOT optional. Warnings suck.