Basic operators for C++ vectors, arrays and strings