commonlib/types.h

changeset 48
e121ea9dba93
parent 46
07578e081ae8
child 61
56c52c10e444
equal deleted inserted replaced
47:4a0ad0a08ea1 48:e121ea9dba93
18 18
19 #pragma once 19 #pragma once
20 #include <QString> 20 #include <QString>
21 #include <QList> 21 #include <QList>
22 #include <QVariant> 22 #include <QVariant>
23
24 template<class T> using list = QList<T>;
25 template<class T> using initlist = std::initializer_list<T>;
26 using std::size_t;
27 23
28 typedef qint8 int8; 24 typedef qint8 int8;
29 typedef qint16 int16; 25 typedef qint16 int16;
30 typedef qint32 int32; 26 typedef qint32 int32;
31 typedef qint64 int64; 27 typedef qint64 int64;

mercurial