<div dir="ltr">[Y'know, I really wish replies would by default go the whole ub group...]<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On 10 October 2013 17:35, Gabriel Dos Reis <span dir="ltr"><<a href="mailto:gdr@microsoft.com" target="_blank">gdr@microsoft.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Calisto MT","serif";color:#7030a0">I don’t know because I don’t have access to all machines, nor did anybody
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Calisto MT","serif";color:#7030a0">came forward with that universal knowledge.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Calisto MT","serif";color:#7030a0"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Calisto MT","serif";color:#7030a0">I am seriously hoping that we would NOT claim ‘willful ignorance’ as basis for design.
</span></p></div></div></blockquote><div><br></div><div>I thought one of the design principles discussed today in another forum was to make the language and library less expert-only.<br><br></div><div>The fact that pointers may not be totally ordered makes any comparison of them in the realm of experts only.<br>
<br></div><div>If someone writes:<br><br></div><div>struct Foo<br>{<br></div><div> X x;<br></div><div> Y y;<br></div><div> Z z;<br><br></div><div> friend bool operator<(Foo const& l, Foo const& r)<br>
</div><div> { return std::tie(l.x, l.y, l.z) < std::tie(r.x, r.y, r.z); }<br></div><div>};<br><br></div><div>If X, Y or Z are pointers, this code is broken! And that is with tuple being designed *by experts* with this use case in mind. If the committee can't handle it, what chance do mere mortals have?<br>
</div></div>-- <br> Nevin ":-)" Liber <mailto:<a href="mailto:nevin@eviloverlord.com" target="_blank">nevin@eviloverlord.com</a>> (847) 691-1404
</div></div></div>