Hi Javier, Try using: typename map<int,Type>::const_iterator p; That should do the trick. HTH, --Eljay