<div class="gmail_quote">On Wed, Jul 18, 2012 at 7:51 PM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank">aaron@aaronballman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This patch addresses PR13128, which points out that the scoped enum<br>
constant name lookup still causes errors when conflicting with the<br>
class name.  Due to it being a scoped enum, the name is looked up in<br>
scope, and so the class name doesn't provide a conflict with the<br>
following example:<br>
<br>
class C {<br>
  enum class E { C };<br>
};</blockquote><div><br></div><div>Please update the comment above your change with the relevant quotation from C++11 [class.mem]p15. Otherwise, LGTM</div></div>