<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<font size="2"><span style="font-size:11pt" class="ContentPasted0">Hi Marc,<br>
</span></font></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<font size="2"><span style="font-size:11pt" class="ContentPasted0"><br>
>> I would like to know how that is supposed to work in practice. We have a <br class="ContentPasted0">
>> lot of public API dealing with Qt containers all over. What are you <br class="ContentPasted0">
>> going to do to, for example, to<br class="ContentPasted0">
>> <br class="ContentPasted0">
>>      void addActions(const QList<QAction*> &actions);<br class="ContentPasted0">
>> <br class="ContentPasted0">
>> in qwidget.h? What should it look like when we're done and our users are <br class="ContentPasted0">
>> free to choose the best container for their needs?<br class="ContentPasted0">
><br class="ContentPasted0">
> In this particular case, the API would be<br class="ContentPasted0">
> <br class="ContentPasted0">
>     void addActions(QSpan<QAction*> actions);<br class="ContentPasted0">
><br class="ContentPasted0">
> This is the trivial case: setters for contiguous data. It's <br class="ContentPasted0">
> backwards-compatible, because QList implicitly converts to QSpan (and <br class="ContentPasted0">
> std::span), but now, as a user, I can also pass a C array or std::vector <br class="ContentPasted0">
> or QVLA of QAction*</span></font><br>
</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="ContentPasted1">
<br>
I wonder how your NOI-everywhere suggestion will work with the signal/slot connections? Specially for the case when Qt::QueuedConnection is used (explicitly or implicitly).<br>
<br>
Best regards,<br>
Ivan</div>
</div>
<br>
</body>
</html>