transfer.cpp:21:22: error: 'std::vector<int> retrieve' redeclared as different kind of entity
21 | vector<int> retrieve(vectot<int> data) {
| ^~~~~~
In file included from transfer.cpp:1:
transfer.h:6:18: note: previous declaration 'std::vector<int> retrieve(std::vector<int>)'
6 | std::vector<int> retrieve(std::vector<int> data);
| ^~~~~~~~
transfer.cpp:21:22: error: 'vectot' was not declared in this scope
21 | vector<int> retrieve(vectot<int> data) {
| ^~~~~~
transfer.cpp:21:29: error: expected primary-expression before 'int'
21 | vector<int> retrieve(vectot<int> data) {
| ^~~
transfer.cpp: In function 'int main()':
transfer.cpp:47:30: error: could not convert 'get_attachment' from 'std::vector<int> (*)(std::vector<int>)' to 'std::vector<int>'
47 | vector<int> w = retrieve(get_attachment)
| ^~~~~~~~~~~~~~
| |
| std::vector<int> (*)(std::vector<int>)
transfer.cpp:48:1: error: expected ',' or ';' before '}' token
48 | }
| ^