Add a template parameter that is defaulted to what our logic would select as the appropritate container type. If the type is contiguous and the element is primitive, use the optimized implementation with the JNI helpers for copying the entire array region. Otherwise, use an emplace_back loop. Change-Id: I669bc3261f111bc0c7e3dd2af8fd33293c083801 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit a6b1f80cd6c833f6eb2fbfb778254cd7fcbc000f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%