I have tried creating a vector of vectors in a class with a fixed size using the solution from the following thread but to no avail. Initializing a vector of vectors having a fixed size with boost assign
Since it's 7 years old, I'm thinking it could be something to do with C++17 changes, but I'm unsure where the issue is otherwise. The error the IDE tells me is "expected a type specifier" on the first argument. Having a look at the documentation for constructors, nothing seems wrong, unless I missed something.
class SudokuSolver {
public:
SudokuSolver() {}
~SudokuSolver() {}
private:
std::vector<std::vector<int>> sudoku_field(9, std::vector<int>(9, 0));
};