Ticker

6/recent/ticker-posts

Ad Code

Responsive Advertisement

element[--listSize].~T() 这句是什么意思

template<class T>
void arrayList<T>::erase(int theIndex)
{
    checkIndex(theIndex);
    copy(element + theIndex + 1, element + listSize, element + theIndex);
    element[--listSize].~T();
}

element[--listSize].~T();这句是什么意思

Enregistrer un commentaire

0 Commentaires