summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringview.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-04-24 11:26:25 +0200
committerMarc Mutz <marc.mutz@kdab.com>2017-04-28 16:41:08 +0000
commitcac2fc81b75f60d84b850fec81b432b020e89ed3 (patch)
tree7619b7210ac5e14bf2b2cbbfe322777427756287 /src/corelib/tools/qstringview.h
parent99d809bd75582180a3a8178287862262024f8f33 (diff)
Long live qStartsWith()/qEndsWith()!
Following the established pattern of implementing non-mutating string algorithms as free functions over views with a public qFoo() and a static qt_foo() split, add qStartsWith() and qEndsWith(), calling the existing qt_{starts,ends}_with_impl() templates. [ChangeLog][QtCore][QStringAlgorithms] Added qStartsWith(), qEndsWith(). Change-Id: Ic95c2a9c13883a99f1a96319083fb249f20de5f1 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qstringview.h')
0 files changed, 0 insertions, 0 deletions