diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-02-16 13:39:38 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-12-07 06:16:23 +0100 |
| commit | 3c0fdd7341ed4bff9b5f041e9f4646265d142303 (patch) | |
| tree | 5a90e34d7692ea72203670dc52bae39ef016bda5 /src/gui/doc/snippets/textdocument-charformats/main.cpp | |
| parent | 5f775e671973b1549a48ae8c69c5db7494f6a6d3 (diff) | |
tst_ContainerApiSymmetry: check value_types with a const member
QVarLengthArray is the only Qt container currently known to be fine.
std::vector is supposed to be fine, too, since C++14. Turns out that
libstdc++ gets resize(n, v) wrong, though, because it never
implemented the resolution to wg21.link/lwg2033. Known issue, linked
in code comment. Worked around for the time being. Keeping std::vector
in, though, because in this test suite we do cross-check with
std::vector, and other platforms, and most of GCC's std::vector
functions, adhere to the standard.
Pick-to: 6.6 6.5
Change-Id: I26e11c4a100695c604cebcf7e14a1ae5078d9ec7
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-charformats/main.cpp')
0 files changed, 0 insertions, 0 deletions
