Container - Set

I am trying to use Set in a template class. But on using pair, its not working. It is working with primitive data types.

pair<set<int>::iterator, bool>ret;---------->works

pair<set<T>::iterator, bool>ret;------------>doesn't work

Can someone tell me how to use this in a template class?
Where is the second declaration? Can you post the code?
Topic archived. No new replies allowed.