Transcription: LLStack iter T and AStack iter T are used to create iterator classes. A template class created from LLStack iter T is a friend of template classes created from LLStack T. The friend relationship also holds between AStack iter T and AStack T. Because the iterator classes are friends of the stack classes, they are allowed access to the private members of the stack classes.