[SOLVED] Max/Min values of custom simple types (quint32, qlong, qint64, etc...)
-
What is the best way to get the max/min values of the simple types defined by Qt?
Is there any specify macros or constants for that??Right now I am using my own byte operations .
-
These types are defines for the basic standard types on the platform, and so you can use the standard numeric limits. That makes this really a C++ question, and not hard to "find":http://lmgtfy.com/?q=C+++numeric+limits...
-
Didn't want to use compiler\platform specific macros but I guess can create portables ones in this case.
-
Thanks Bradley!!! I guess that was what Andre implied but I was unaware of these functions.