diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-05-10 18:29:02 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-05-16 20:09:40 +0200 |
commit | 7ca633d9a82f90e5bba5e12ba923bfb0a257af63 (patch) | |
tree | f424d1ff5d7d9fc4e6404e58e4e4376a67c592a7 /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp | |
parent | bbbe5f45c4d354ef977d4e09459ef5ae4d6db0da (diff) | |
download | qtbase-7ca633d9a82f90e5bba5e12ba923bfb0a257af63.tar.gz |
QArrayDataPointer: add a C++20 ranges-style optional projection to assign()
This will be useful for implementing QString::assign(), which
otherwise has the problem that it's d_ptr is based on char16_t, but
it's assign() is supposed to be able to deal with iterators whose
value_type returns QChar.
Task-number: QTBUG-106198
Change-Id: I87882bf749b4e21b7b32391167962d3e6bae9983
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions