They shouldn't use the above. I tested and this is the error:
error: invalid operands to binary expression ('CScript' and 'CScript')
./script/script.h:431:14: note: candidate function not viable: no known conversion from 'CScript' to 'int64_t' (aka 'long') for 1st argument
CScript& operator<<(int64_t b) { return push_int64(b); }
^
./script/script.h:433:14: note: candidate function not viable: no known conversion from 'CScript' to 'opcodetype' for 1st argument
CScript& operator<<(opcodetype opcode)
^
./script/script.h:441:14: note: candidate function not viable: no known conversion from 'CScript' to 'const CScriptNum' for 1st argument
CScript& operator<<(const CScriptNum& b)
^
./script/script.h:447:14: note: candidate function not viable: no known conversion from 'CScript' to 'const std::vector<unsigned char>' for 1st argument
CScript& operator<<(const std::vector<unsigned char>& b)
^
1 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
error: overload resolution selected deleted operator '<<'
./script/script.h:430:14: note: candidate function has been explicitly deleted
CScript& operator<<(const CScript& b) = delete;
^
./script/script.h:432:14: note: candidate function not viable: no known conversion from 'CScript' to 'int64_t' (aka 'long') for 1st argument
CScript& operator<<(int64_t b) { return push_int64(b); }
^
./script/script.h:434:14: note: candidate function not viable: no known conversion from 'CScript' to 'opcodetype' for 1st argument
CScript& operator<<(opcodetype opcode)
^
./script/script.h:442:14: note: candidate function not viable: no known conversion from 'CScript' to 'const CScriptNum' for 1st argument
CScript& operator<<(const CScriptNum& b)
^
./script/script.h:448:14: note: candidate function not viable: no known conversion from 'CScript' to 'const std::vector<unsigned char>' for 1st argument
CScript& operator<<(const std::vector<unsigned char>& b)
^