Archived
This forum has been archived. Please start a new discussion on GitHub.
Overloaded << and >> in C++ for serialization.
Hello team @ zeroC!
Could you please provide overloaded << and >> operator functions for serialization in C++? Or is this already there and have I missed it?
The code would look like the following:
When a lot of things have to be serialized and deserialized, the above could make things a bit more convenient.
Regards,
Arun.
Could you please provide overloaded << and >> operator functions for serialization in C++? Or is this already there and have I missed it?
The code would look like the following:
m_osPtr = Ice::createOutputStream(m_iceCommPtr); m_osPtr << aString; m_osPtr << aBool; m_osStr << myObject; // ...
When a lot of things have to be serialized and deserialized, the above could make things a bit more convenient.
Regards,
Arun.
0