Hi,
I am trying to make an ADT caled SetType which does the following functions

void MakeEmpty();
void Store(itemType item);
void Delete(itemType item);
int Card();
bool IsIn(itemType item) const;
void Difference(SetType operand2, SetType& result);
void Intersection(SetType operand2, SetType& result);
void Union(SetType operand2, SetType& result);
bool IsSubset(SetType operand2);


i am using sorted link list as my base class and derived functions from it. I have an idea about the algorithm but having problem in syntax.... in creating these functions

void Difference(SetType operand2, SetType& result);
void Intersection(SetType operand2, SetType& result);
void Union(SetType operand2, SetType& result);
bool IsSubset(SetType operand2);


Any kind of help would be apprectiated
Thank You

here is my specification for the class SetType

template<class itemType>
class SetType
{
public:

void MakeEmpty();
void Store(itemType item);
void Delete(itemType item);
int Card();
bool IsIn(itemType item) const;
void Difference(SetType operand2, SetType& result);
void Intersection(SetType operand2, SetType& result);
void Union(SetType operand2, SetType& result);
bool IsSubset(SetType operand2);

private:
SortedType<int> sort;
};