Add example of how to use scoped member variable
Merge pull request #1644 from eco/patch-5

Add example of how to use scoped member variable