feat(IDT): IDT and exception handling support
This commit is contained in:
@@ -50,6 +50,13 @@ kcp::cstringstream& kcp::cstringstream::operator<<(char* str) {
|
||||
return *this;
|
||||
}
|
||||
|
||||
kcp::cstringstream& kcp::cstringstream::operator<<(const char* str) {
|
||||
*this << (char*)str;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
kcp::cstringstream& kcp::cstringstream::operator<<(int num) {
|
||||
char* out_str = Lib::int2basestr(num, current_base);
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace kcp {
|
||||
|
||||
cstringstream& operator<<(char c);
|
||||
cstringstream& operator<<(char* str);
|
||||
cstringstream& operator<<(const char* str);
|
||||
|
||||
cstringstream& operator<<(int num);
|
||||
cstringstream& operator<<(uint32_t val);
|
||||
|
||||
Reference in New Issue
Block a user