Tell me if this is the correct reasoning for this situation.
I have two objects, both are structures and have identical data in the
structure. I place one into a queue object, now if i do a contains on the
queue of the second object it wont contain the first object because they are
independent memory locations (seperate objects) even though they are
identical and not pointers to each other. What I have is a queue of file
names that I need to process. Each file name has a structure that has a path
and its full file name. Now when They get placed into a queue i need to make
sure they file does not already exist in queue, but since they are
structures, each entry is an independent object, so if i have a file in
queue and then the same file name comes up later its a newly created object.
Even though they are the same file in reality, now they have two objects
representing themselves.