![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Reference to template class generated wrong Topic Summary: Created On: 12-Apr-2007 09:34 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
For some reason Rhapsody generates code wrong in the following case:
A simple class is defined within a template class: [COLOR=Blue]template <class T> class List{ class Iterator { ... } //end of Iterator } //end of List[/COLOR] A typedef for the nested class is defined in a different class: [COLOR=Blue]template <class T> ListView{ typedef List<T>::Iterator LocalIterator; }[/COLOR] Unfortunately Rhapsody generates this as [COLOR=Blue]typedef List::Iterator LocalIterator;[/COLOR] (without <T> ![]() Can anyone tell me if I am doing something wrong or is this a bug? |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.