Beispiel #1
0
//Assignment operator
Multiset& Multiset::operator=(const Multiset& rhs)
{
	if (this == &rhs)
		return *this;
	//Check for aliasing

	_deleteNodes();
	_size = rhs._size;
	_copyNodes(rhs);

	return *this;
}
Beispiel #2
0
 OSS_INLINE virtual void clearPath ()
 {
    _deleteNodes () ;
 }
Beispiel #3
0
Multiset::~Multiset()
{
	_deleteNodes();
}