<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 16, 2013 at 3:09 PM, Chris Lattner <span dir="ltr"><<a href="mailto:sabre@nondot.org" target="_blank" class="cremed">sabre@nondot.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":3ol" style="overflow:hidden">+  template<typename PT1, typename PT2><br>
+  static bool operator!=(PointerUnion<PT1, PT2> lhs,<br>
+                         PointerUnion<PT1, PT2> rhs) {<br>
+    return lhs.getOpaqueValue() == rhs.getOpaqueValue();</div></blockquote></div><br>Notably, a unit test might have noticed that this doesn't seem quite the right implementation of !=...</div></div>