ostream state preservation

This commit is contained in:
Michael Davidsaver
2021-06-27 10:17:13 -07:00
parent 4ea98d61f6
commit 1859e44fcf
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -171,6 +171,7 @@ std::ostream& operator<<(std::ostream& strm, TypeCode c)
if(name[0]!='?') {
strm<<name;
} else {
Restore R(strm);
strm<<"TypeCode(0x"<<std::hex<<(unsigned)c.code<<")";
}
return strm;