vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:31:25: error: 'vector' was not declared in this scope
31 | vector<int> q;
| ^~~~~~
vision.cpp:31:25: note: suggested alternatives:
In file included from /usr/include/c++/10/vector:67,
from vision.h:5,
from vision.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: 'std::vector'
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from vision.h:5,
from vision.cpp:1:
/usr/include/c++/10/vector:86:13: note: 'std::pmr::vector'
86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
vision.cpp:31:32: error: expected primary-expression before 'int'
31 | vector<int> q;
| ^~~
vision.cpp:32:25: error: 'q' was not declared in this scope
32 | q.pb(pos(i, j));
| ^
vision.cpp:36:5: error: 'vector' was not declared in this scope
36 | vector<int> q;
| ^~~~~~
vision.cpp:36:5: note: suggested alternatives:
In file included from /usr/include/c++/10/vector:67,
from vision.h:5,
from vision.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: 'std::vector'
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from vision.h:5,
from vision.cpp:1:
/usr/include/c++/10/vector:86:13: note: 'std::pmr::vector'
86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
vision.cpp:36:12: error: expected primary-expression before 'int'
36 | vector<int> q;
| ^~~
vision.cpp:38:9: error: 'q' was not declared in this scope
38 | q.pb(i);
| ^
vision.cpp:39:12: error: 'q' was not declared in this scope
39 | add_or(q);
| ^