What\'s wrong with this line of code?
bar foo(vector ftw);
It produces
error C2061: syntax error: identifier \'vector\'
Probably you forgot to include vector and/or import std::vector into the namespace.
std::vector
Make sure you have:
#include
Then add:
using std::vector;
or just use:
bar foo(std::vector ftw);