Qt的容器类QList<T>,QVector<T>等需要它们的元素类型是可复制.从C++ 11开始,STL容器要求它们的元素类型只能是可复制的或可移动的.为什么Qt容器不支持仅移动元素类型?
QList<T>
QVector<T>
qt qlist move-semantics c++11 qvector
c++11 ×1
move-semantics ×1
qlist ×1
qt ×1
qvector ×1