bar, vector odp. , bar, , .
I assume that it should define fooas a function what it vectorcalls the template and that it should define a parameter with a name ftw, but there is nothing in the declaration that is not actually defined to be declared earlier, so that the compiler knows what all the other identifiers mean.
For example, if you define new types as follows, you get a fragment that will compile:
struct bar {};
struct odp {};
template<class T> struct vector {};
bar foo(vector<odp> ftw);
source
share