summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2018-08-07 12:29:21 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2018-08-17 11:31:28 +0000
commitd26289ffb43a5fcf34e855db1dfbf42aa03c4f5a (patch)
tree5154f73b033c638e1929829698e9a4395b874417 /src/plugins
parentd7fbc9ea883313ad19ff12318e8efb5deab6d439 (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')
0 files changed, 0 insertions, 0 deletions