Talk:cpp/language/scope

Scope and object Lifetime
Below is a proposed code example demonstrating the effect of scope on object lifetime. Modification of current code in the article.

This isn't a comprehensive list, but it does demonstrate the unnoticed side effects of plain old scope brackets.