since its your iterator...
You can return anything you like. Its often helpful to return the actual dereference of the iterator's pointee, something like
Code:
template <class MyStringObjectType>
class Iterator
{
public:
// ... whatever else goes here
MyStringObjectType& operator*() const
{
// ... maybe you want to do something here
return *pointee_;
}
private:
MyStringObjectType* pointee_;
};
In this case use the class for your iterator's template parameter. I hope this helps you...
*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/
"It's hard to believe in something you don't understand." -- the sidhi X-files episode
galathaea: prankster, fablist, magician, liar