#include
#include
The answer of Naveen is correct, I can add a suggestion: I use extensively typedefs and I'm waiting template typedef and "true type definition" typedef.
template
class A
{
public:
typedef typename std::vector >::iterator iterator;
typedef std::pair MyPair;
MyPair foo();
};
template
typename A::MyPair A::foo()
{
iterator aIter;
return MyPair(aIter ,false);
}