vision.cpp: In function 'int test(int)':
vision.cpp:23:33: error: 'add_or' was not declared in this scope
23 | retl.push_back(add_and({add_or(O), add_not(add_xor(X))}));
| ^~~~~~
vision.cpp:23:52: error: 'add_xor' was not declared in this scope
23 | retl.push_back(add_and({add_or(O), add_not(add_xor(X))}));
| ^~~~~~~
vision.cpp:23:44: error: 'add_not' was not declared in this scope
23 | retl.push_back(add_and({add_or(O), add_not(add_xor(X))}));
| ^~~~~~~
vision.cpp:23:24: error: 'add_and' was not declared in this scope
23 | retl.push_back(add_and({add_or(O), add_not(add_xor(X))}));
| ^~~~~~~
vision.cpp:36:33: error: 'add_or' was not declared in this scope
36 | retr.push_back(add_and({add_or(O), add_not(add_xor(X))}));
| ^~~~~~
vision.cpp:36:52: error: 'add_xor' was not declared in this scope
36 | retr.push_back(add_and({add_or(O), add_not(add_xor(X))}));
| ^~~~~~~
vision.cpp:36:44: error: 'add_not' was not declared in this scope
36 | retr.push_back(add_and({add_or(O), add_not(add_xor(X))}));
| ^~~~~~~
vision.cpp:36:24: error: 'add_and' was not declared in this scope
36 | retr.push_back(add_and({add_or(O), add_not(add_xor(X))}));
| ^~~~~~~
vision.cpp:40:21: error: 'add_or' was not declared in this scope
40 | return add_and({add_or(retl), add_or(retr)});
| ^~~~~~
vision.cpp:40:12: error: 'add_and' was not declared in this scope
40 | return add_and({add_or(retl), add_or(retr)});
| ^~~~~~~
vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:51:44: error: 'add_xor' was not declared in this scope
51 | if (ldiag[i].size()) ldiagxor[i] = add_xor(ldiag[i]);
| ^~~~~~~
vision.cpp:52:43: error: 'add_or' was not declared in this scope
52 | if (ldiag[i].size()) ldiagor[i] = add_or(ldiag[i]);
| ^~~~~~
vision.cpp:53:44: error: 'add_xor' was not declared in this scope
53 | if (rdiag[i].size()) rdiagxor[i] = add_xor(rdiag[i]);
| ^~~~~~~
vision.cpp:54:43: error: 'add_or' was not declared in this scope
54 | if (rdiag[i].size()) rdiagor[i] = add_or(rdiag[i]);
| ^~~~~~
vision.cpp:57:23: error: 'add_not' was not declared in this scope
57 | add_and({test(K), add_not(test(K-1))});
| ^~~~~~~
vision.cpp:57:5: error: 'add_and' was not declared in this scope
57 | add_and({test(K), add_not(test(K-1))});
| ^~~~~~~