Re: Correction - Was: [Dev-C++] typedef problem
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Hossein H. <ult...@em...> - 2003-09-24 08:01:10
|
Dear stefan, > Never answer from pure memory... ;-) Good Idea! > The correct syntax (verified in .NET) is: > > typedef class GenericIterator<T> BasicIterator; Or perhaps the better solution is: typedef typename GenericIterator<T> BasicIterator; (After all, GenericIterator<> may be a struct. Then for human- beeings, and not for compilers, the latter is more intuitive.) Regards, --Hossein -- __________________________________________________________ Sign-up for your own personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers |