Name resolution (programming languages): Difference between revisions

Content deleted Content added
m change source to syntaxhighlight
m linking
Line 76:
}
</syntaxhighlight>
within the <tt>Point</tt> constructor, the [[class variablesvariable]]s <tt>x</tt> and <tt>y</tt> are [[Variable shadowing|shadowed]] by local variables of the same name. This might be alpha-renamed to:
<syntaxhighlight lang="cpp">
class Point {