The code below copies data from one vector into another. If the vectors are large then I guess this is expensive. Is it possible to use move semantics here to copy data from one vector into another?
std::vector newData(Shape.Size(), 0);
std::vector oldData = a->getData();
std::copy(oldData.begin(), oldData.end(), newData.begin());
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)