Placing template in a QByteArray
Let's take this as an example:
void MyClass::MyFunction(Parameters&&... parameters)
I want to put the template stuff inside the QDataStream. How is possible to do this?
For Qt standard variables there are alreday "output operators":https://qt-project.org/doc/qt-4.8/qdatastream.html#operator-lt-lt defined.
Others you have to write your own overlayed output operators.
Have a look into "this older thread":/forums/viewreply/22324/, there's a sample on how to write your own operator overloads for QDataStream.
Well, actually when doing myDStream << (parameters)... compiler cryes about the "..." but if i remove them, cryes about not having them.
So... how did you declare and implement your QDataStream operator overloads?