Main.cc: In function ‘int main()’: Main.cc:6:13: error: ‘sizeOf’ was not declared in this scope cout << sizeOf(a) << " " << sizeOf(b); ^~~~~~ Main.cc:6:13: note: suggested alternative: ‘size_t’ cout << sizeOf(a) << " " << sizeOf(b); ^~~~~~ size_t