diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-09-20 15:01:09 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-27 02:25:25 +0200 |
commit | d85dd245f9a1a2959af4d2d68a45cf1dca419767 (patch) | |
tree | bea032f32be21cfce1759f140cfe99222415249f /src/corelib/itemmodels/qsortfilterproxymodel.cpp | |
parent | a19fd0f9265bed96197a6823887c6f03fc23112d (diff) |
qtypetraits.h: add is_signed/is_unsigned/not_/not_c predicates
is_signed/is_unsigned check whether the type argument is signed
or unsigned, resp., and will be used in QFlags to select the
correct underlying integer type.
not_ is used in the implementation of is_signed
not_c is for completeness (version of not_ that takes a bool
instead of an integral_constant).
Change-Id: I77cc445e8c6cf3181336505c9c13478fba3e7890
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/itemmodels/qsortfilterproxymodel.cpp')
0 files changed, 0 insertions, 0 deletions