Tuesday, 22 May 2012

Exact width integers in C++/Qt: Is typedef int qint32 really correct?

The Qt documentation says: typedef qint8 Typedef for signed char. This type is guaranteed to be 8-bit on all platforms supported by Qt. typedef qint16 Typedef for signed short. This type is guaranteed to be 16-bit on all platforms supported by Qt. typedef qint32 Typedef for signed int. This type is guaranteed to be 32-bit on all platforms supported by Qt. typedef

No comments:

Post a Comment