Question: DList ( ) { mHead = mTail = nullptr; mSize = 0 ; } ~DList ( ) { Clear ( ) ; } DList (

DList()
{
mHead = mTail = nullptr;
mSize =0;
}
~DList()
{
Clear();
}
DList(const DList& _copy)
{
mHead = nullptr;
mTail = nullptr;
mSize =0;
}
DList& operator=(const DList& _assign)
{
// TODO: Implement this method
}
void AddHead(const Type& _data)
{
// TODO: Implement this method
}
void AddTail(const Type& _data)
{
// TODO: Implement this method
}
void Clear()
{
// TODO: Implement this method
}
Iterator Insert(Iterator& _iter, const Type& _data)
{
// Implement this method
}
Iterator Erase(Iterator& _iter)
{
// TODO: Implement this method
}
Iterator Begin() const
{
// TODO: Implement this method
}
Iterator End() const
{
// TODO: Implement this method
}
};

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!