[Development] QRegularExpressionMatch
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Mon Apr 3 11:07:26 CEST 2017
Il 03/04/2017 09:45, Marc Mutz ha scritto:
> How does the existing match(QStringRef) overload handle lifetime?
By getting the internal QString and storing a copy of it (alongside with
the offset/length carried by the QStringRef):
> https://code.woboq.org/qt5/qtbase/src/corelib/tools/qregularexpression.cpp.html#_ZNK18QRegularExpression5matchERK10QStringRefiNS_9MatchTypeE6QFlagsINS_11MatchOptionEE
Cheers,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170403/8aadf7f8/attachment.bin>
More information about the Development
mailing list