>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
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to