QLinkedList: only support data streaming if contained type does
Otherwise, QTypeTraits::has_i/ostream_operator_v will incorrectly
be true for any QLinkedList, and conditionally compiled code will
result in compile errors.
Add static_asserts to the test.
Pick-to: 6.2 6.3 6.4
Change-Id: I3a14c77e9ed65223ac1020b295a468a6b92ca6c2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
| commit | a7dee0935cedf8a0b1e89e58c71d4dec367719d2 |
| parent | 58792c420731124ad7cd7bd280367f7013d5390c |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Tue, 12 Jul 2022 22:27:56 +0200 |