-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0 FF
-
None
-
-
71be7834e (dev), c21612d24 (6.8)
Since QJniArray deep-copies the data into a/the Java container, requiring contiguous containers for fromContainer is over-constrained. Containers with ForwardIterators should suffice. InputIterators probably not, because we need the final size of the container before we start copying, don't we?
Acceptance criteria:
- relax the constraints on ctor, fromContainer to Forward
- update documentation
- adjust tests
Found in API-review: https://codereview.qt-project.org/c/qt/qtbase/+/565752/comment/8e9ceda7_9bbd99f5/