I tried recreating the error message with the limited code snippet you posted and was unable to, i.e. this compiles fine with the Intel compiler:
template
struct Base {
typedef T1 first_type;
};
template
struct Iter {
typedef Base value_type;
};
template
class project1st_iterator
{
public:
typedef typename PairIterator::value_type::first_type value_type;
};
project1st_iterator > p;
Please post a more complete example that reproduces the problem and then we can help you. Also which version of the compiler were you using (use icpc -V)?
thanks
Judy