<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 7:37 AM, 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"><div id=":o23" class="a3s" style="overflow:hidden">+TEST(ArrayRefTest, InitializerList) {<br>
+ ArrayRef<int> A{ 0, 1, 2, 3, 4 };</div></blockquote></div><br>Please use the = { ... }; syntax instead. I'm strongly opposed to using {} for direct initialization in essentially every case. Even when it's the only way to make a construct compile, I would rather use a different construct.</div></div>