so, what does it return? a bool or a <T>?
The pull function I would assume would return a <T>, but what are you supposed to return if the search parameter is not found.
An overloaded operator (== in this case), would logically return a bool.
Sounds ike you are trying to implement two different functions to me.
__________________
But I don't want ANY Spam!
|