summaryrefslogtreecommitdiff
path: root/examples/widgets/doc/src/sdi.qdoc
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-03-01 14:42:32 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-03-03 04:46:01 +0000
commit7800a41a9d817ca75087c68f5cca1d867569ee9a (patch)
tree00903af27e6c5dcfc6e80588f5387ca8e468464e /examples/widgets/doc/src/sdi.qdoc
parente8f7b2f1510ccceaca743f47de6d6705c6151a05 (diff)
downloadqtbase-7800a41a9d817ca75087c68f5cca1d867569ee9a.tar.gz
QDebug: fix std::string/view stream operators; add u8 versions
Make them templates, for two reasons: - so they can accept std::pmr types and, in general, any basic_string with custom allocators and char_traits - to break overload ambiguities with the Qt string view types Also, add the missing C++20 char8_t overloads. Also, avoid creation of a QString in the sizeof(wchar_t) == 2 case (Windows). Add a comment to optimize for the sizeof(wchar_t) != 2 case later. Found in API review. Change-Id: I30139520f582a38863a0936f8eca4b1ed33e37c8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 52c7f699ac3124889b9c01fbc1fd542e30da6753) Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/widgets/doc/src/sdi.qdoc')
0 files changed, 0 insertions, 0 deletions