Common Datatypes

void
empty space
bool
8-bit boolean (default = false)
char
8-bit signed integer (default = 0)
uchar
8-bit unsigned integer (default = 0)
short
16-bit signed integer (default = 0)
ushort
16-bit unsigned integer (default = 0)
int
32-bit signed integer (default = 0)
uint
32-bit unsigned integer (default = 0)
long
64-bit signed integer (default = 0)
ulong
64-bit unsigned integer (default = 0)
float
32-bit floating point number (default = 0)
double
64-bit floating point number (default = 0)
string
UTF-8 string (default = “”)
vector<T>
A list of values of type T. (default = [])
optional<T>
An optional value of type T. (default = null)
set<t>
An ordered set of values of type T. (no duplicates)
map<K, V>
An ordered map with key type K and value type V. (no duplicate keys)
pair<K, V>
A pair of values of type K and V respectively.
T*
A value of type T or any derived type, or null. (default = null)