<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><blockquote type="cite"><div dir="ltr">Yes sorry I meant <initializer_list>.<div><br><div>Actually I thought this include was explicitely needed for MSVC12 port...</div><div>but I've just been testing again, it seems not necessary anymore, maybe it was fixed in the latest version -- my bad.</div><div><br></div><div>However for this specific case with <span style="font-family: arial, sans-serif; font-size: 13px;">std::pair, it felt easier to just use normal constructor instead of initializer_list since it doesn't make code much different</span></div><div><font face="arial, sans-serif">(as opposed to cases such as std::vector<int> a = { 1, 1, 1 } where it makes much more sense vs using many verbose push_back).</font></div><div><font face="arial, sans-serif"><br></font></div></div></div></blockquote><div><br></div><div>Agreed. Not a big deal.</div><br><blockquote type="cite"><div dir="ltr"><div><div><span style="font-family: arial, sans-serif;">Also, even though it's not a big priority for me, it should also make it easier to maintain a future MSVC11 branch (which doesn't support initializer_list) by using this feature only where it actually matters, so that it minimizes differences.</span><br></div><div><span style="font-family: arial, sans-serif;"><br></span></div><div><span style="font-family: arial, sans-serif;">Of course I won't try to remove it from all the other useful situations where it's used.</span></div><div><span style="font-family: arial, sans-serif;"><br></span></div><div><span style="font-family: arial, sans-serif;">Hopes that make sense, and let me know if you prefer me to revert, no problem for me.</span></div></div></div></blockquote><div><div dir="ltr"><div><div><span style="font-family: arial, sans-serif;"><br></span></div></div><div><span style="font-family: arial, sans-serif;"><br></span></div><div><font face="arial, sans-serif">No, no need to revert.</font></div><div><font face="arial, sans-serif">My main concern was whether there was a good reason for us to refrain entirely from using the initializer_list. The assumption we are developing with is that lldb is a C++11 project and as such can use all the standard features of C++11</font></div><div><span style="font-family: arial, sans-serif;"><br></span></div><div><span style="font-family: arial, sans-serif;">All is good :)</span></div><div><span style="font-family: arial, sans-serif;"><br></span></div></div></div><div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style=" orphans: 2; widows: 2; border-collapse: separate; border-spacing: 0px;"><span style="font-size: 12px; orphans: auto; widows: auto;">Enrico Granata</span><br style="font-size: 12px; orphans: auto; widows: auto;"><span style="font-size: 12px; orphans: auto; widows: auto;">📩 egranata@</span><font color="#ff2600" style="font-size: 12px; orphans: auto; widows: auto;"></font><span style="font-size: 12px; orphans: auto; widows: auto;">.com</span><br style="font-size: 12px; orphans: auto; widows: auto;"><span style="font-size: 12px; orphans: auto; widows: auto;">☎️ 27683</span></div></div></div>
</div>
<br><div><div><br></div></div></body></html>