diff options
author | Daniel Teske <daniel.teske@theqtcompany.com> | 2015-09-04 15:02:33 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@theqtcompany.com> | 2015-09-14 10:54:52 +0000 |
commit | e818a4ed9045e94edb94371ef56b43266cad8c85 (patch) | |
tree | 45e50633d70331aba3c3bfca64f77d41b87ae6af /share | |
parent | 33d1a91c4f8f04670a4e3cff88531f08413ea357 (diff) |
Algorithm: Add a TODO for the future
Currently e.g. this won't compile:
Utils::equal(&Class::toString, QLatin1String("xxx"));
because eqaul_to<QLatin1String> doesn't know how to compare
QString and QLatin1String.
In C++14, equal_to<> (without any template parameter) was added,
which simply works in that case.
Change-Id: I463d01e23f9f0379fea95ef1de4305751af8f1a7
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions