Adding QStack to primitive types in C++.