[Interest] QueuedConnection, QByteArray, reserve, capacity
Yuri Alexandrov
evilruff at gmail.com
Thu Jun 1 20:21:14 CEST 2017
>I don't want to document internal behaviour which we may change in the future.
>I understand your use-case and it might be a good idea to change the behaviour
>to support it.
Would be great if such external behavior switch is implemented, something like
QByteArray a;
a.setAllocationPolicy( .. ), or whatever other proper method name.
>re-allocated QByteArray.
>If you intend to modify it, then pass it by pointer. If you don't intend to
>modify, then the allocation size is irrelevant.
Absolutely agree, my comment was more to initial post.
Regards,
Yuri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170601/0f5e2fee/attachment.html>
More information about the Interest
mailing list