<div class="gmail_quote">On Wed, Feb 29, 2012 at 8:08 PM, Sean Silva <span dir="ltr"><<a href="mailto:silvas@purdue.edu">silvas@purdue.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think those error messages are a bit confusing.<div><br></div><div>The wording seems a little too "absolute". To me at least, "<span style="font-size:12px;font-family:arial,sans-serif">initializer list cannot be used on the right hand side of operator '+'" at first reading seems to say that it is illegal, in general, to have an initializer list on the RHS of a +, where it seems like it would be clearer to say "illegal use of an initializer list in the right operand to '+'". Urgh, I'm not fully happy about that one either.</span></div>
</blockquote><div><br></div><div>It is illegal, in general, to have an initializer list on the RHS of a +, so it seems like the diagnostic has exactly the right implications. Unless I'm misunderstanding the distinction you're drawing?</div>
</div>