Hi,
I've got an wrapper/overload func below. My question: after calling this function, is my data valid? Is a deep copy done?
How should I do it best? Should I 'new' a QVector or should I ::memcpy()?
thanks
K
Qt Code:
void CLASS::getData(short* piData) { QVector<short> trace; getData(&trace); piData = trace.data();//do I need to copy this? return; }To copy to clipboard, switch view to plain text mode
Bookmarks