Remove the parens in the declaration of the vector - they cause it to be a function declaration and not a vector declaration.
gcc - c++ vector.push_back error: request for member ‘push_back’…, which is of non-class type ‘vector(char, allocator(char)) ()()’ - Stack Overflow
2ヶ月前に投稿されました. リアクション.