They shouldn’t use the above. I tested and this is the error:
0error: invalid operands to binary expression ('CScript' and 'CScript')
1
2./script/script.h:431:14: note: candidate function not viable: no known conversion from 'CScript' to 'int64_t' (aka 'long') for 1st argument
3 CScript& operator<<(int64_t b) { return push_int64(b); }
4 ^
5./script/script.h:433:14: note: candidate function not viable: no known conversion from 'CScript' to 'opcodetype' for 1st argument
6 CScript& operator<<(opcodetype opcode)
7 ^
8./script/script.h:441:14: note: candidate function not viable: no known conversion from 'CScript' to 'const CScriptNum' for 1st argument
9 CScript& operator<<(const CScriptNum& b)
10 ^
11./script/script.h:447:14: note: candidate function not viable: no known conversion from 'CScript' to 'const std::vector<unsigned char>' for 1st argument
12 CScript& operator<<(const std::vector<unsigned char>& b)
13 ^
141 error generated.
I think you wanted to say that the non-existent operator should be explicitly deleted just as it has been done for the constructor in e1a55690e66ca962179bc8170695b92af8a3caa8?
If yes, I have done that. The error is now
0error: overload resolution selected deleted operator '<<'
1
2./script/script.h:430:14: note: candidate function has been explicitly deleted
3 CScript& operator<<(const CScript& b) = delete;
4 ^
5./script/script.h:432:14: note: candidate function not viable: no known conversion from 'CScript' to 'int64_t' (aka 'long') for 1st argument
6 CScript& operator<<(int64_t b) { return push_int64(b); }
7 ^
8./script/script.h:434:14: note: candidate function not viable: no known conversion from 'CScript' to 'opcodetype' for 1st argument
9 CScript& operator<<(opcodetype opcode)
10 ^
11./script/script.h:442:14: note: candidate function not viable: no known conversion from 'CScript' to 'const CScriptNum' for 1st argument
12 CScript& operator<<(const CScriptNum& b)
13 ^
14./script/script.h:448:14: note: candidate function not viable: no known conversion from 'CScript' to 'const std::vector<unsigned char>' for 1st argument
15 CScript& operator<<(const std::vector<unsigned char>& b)
16 ^