diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-01-21 11:07:34 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-01-21 23:43:17 +0100 |
commit | dc6453694ea75ab068a5064311052c6d744a2cdb (patch) | |
tree | 3787cbe5481da672581630f30da269c57572c5ef | |
parent | 2549f189951d47d7487c58c4e799bdeb487fa068 (diff) |
-rw-r--r-- | src/corelib/text/qbytearraymatcher.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/corelib/text/qbytearraymatcher.cpp b/src/corelib/text/qbytearraymatcher.cpp index 9f89ef084f..7ade5bc5b7 100644 --- a/src/corelib/text/qbytearraymatcher.cpp +++ b/src/corelib/text/qbytearraymatcher.cpp @@ -375,8 +375,7 @@ qsizetype qFindByteArray( QByteArray::indexOf(), in particular if repeated matching takes place. Unlike QByteArrayMatcher, this class calculates the internal - representation at \e{compile-time}, if your compiler supports - C++14-level \c{constexpr} (C++11 is not sufficient), so it can + representation at \e{compile-time}, so it can even benefit if you are doing one-off byte array matches. Create the QStaticByteArrayMatcher by calling qMakeStaticByteArrayMatcher(), @@ -392,11 +391,6 @@ qsizetype qFindByteArray( Since this class is designed to do all the up-front calculations at compile-time, it does not offer a setPattern() method. - \note Qt detects the necessary C++14 compiler support by way of the feature - test recommendations from - \l{https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations} - {C++ Committee's Standing Document 6}. - \sa QByteArrayMatcher, QStringMatcher */ |