diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-08-07 12:29:21 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-08-17 11:31:28 +0000 |
commit | d26289ffb43a5fcf34e855db1dfbf42aa03c4f5a (patch) | |
tree | 5154f73b033c638e1929829698e9a4395b874417 /src/plugins/platforms/winrt/uiautomation/qwinrtuiametadatacache.h | |
parent | d7fbc9ea883313ad19ff12318e8efb5deab6d439 (diff) |
Add ++/--/min/max to QSpecialInteger
Add both prefix and postfix versions of the increment/decrement
operators, and a static constexpr min/max which returns the
minimum/maximumm values that can be stored in the QSpecialInteger. These
latter functions are useful to define constants, e.g.:
typedef quint8_be IPv4_TTL;
static constexpr TTL_TO_DROP = IPv4_TTL::min();
Change-Id: I825a279feb68b93572765a9fdb5aa7b06d1be35b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/winrt/uiautomation/qwinrtuiametadatacache.h')
0 files changed, 0 insertions, 0 deletions