You have reached a temporary GotW page that has moved. In early 2012, I posted three new GotWs temporarily numbered #103-105. When I decided leaving a gap in the numbers wasn’t best after all, I permanently renumbered them to #89-91 to continue the sequence.
- @lichray Shadowing doesn't affect this. "int i = i;" reads this i's (uninitialized) value into i, whether or not there's another i somewhere 1 month ago
- @tvaneerd Taking &obj would be ok (e.g., Observer o(&o);). We can decide to view pass-by-& as taking address (ok) or using object (not ok) 1 month ago
- @hanihimself Major compilers warn already. So banning wouldn't actually create new incompatibility in shops that use+follow those warnings 1 month ago