bearophile wrote:
The -Wshadow option now warns if a local variable or type declaration shadows 
another
type in C++. Note that the compiler will not warn if a local variable shadows a
struct/class/enum, but will warn if it shadows an explicit typedef.

This seems interesting.

Yeah, D has had that for 10 years now.

Reply via email to