<div dir="ltr"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 16 Jan 2020, 22:46 Kai Uwe Broulik, <<a href="mailto:kde@privat.broulik.de" target="_blank">kde@privat.broulik.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> Well, the * is completely redundant in those cases, so it doesn't bring anything.<br>
> I'd be tempted to say, let's not require it.<br>
> But then it raises the question of consistency (without a guideline, we'll have some places with * and some places without *).<br>
<br>
It provides useful visual information.<br></blockquote></div></div><div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
auto foo = bar();<br>
auto baz = &bla;<br></blockquote><div><br></div><div>Neither of those examples abide by the proposed Qt/Vlad rules, which I think would render your issue moot.</div><div><br></div><div>I don't think I really understand your potential issue anyway, if you tried to use baz form and it wasn't the type I expected it just wouldn't compile?</div><div></div><div><br></div><div>This is somewhat different to the case where have you have overloaded & and non& operators, such as [] where I do I understand why it's useful.<br></div></div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'll continue mandating that in code I maintain, even if it's not <br>
official policy.<br></blockquote></div></div><div dir="auto"><br></div><div>The context of this original email being sent was that I got extremely frustrated with per-project seemingly random rules. <br></div><div>I can happily follow a global policy even if I don't agree with it, but we need to define things. Otherwise, we'll end up in this situation again.<br></div><div dir="auto"></div><div></div><div dir="auto"><br></div></div><div>David<br></div>
</div>