Malcolm Nealon wrote: > klaas.holwerda wrote: > >> Maybe like in smrtptr.h, the same trick might work: >> >> template<class T> >> class a2dSmrtPtrList: public a2dlist< a2dSmrtPtr< T > >{ >> >> public: >> >> typedef typename a2dlist< a2dSmrtPtr< T > >::iterator itSmart; >> typedef typename a2dlist< a2dSmrtPtr< T > >::const_iterator >> const_itSmart; >> >> //! Find a specific object >> itSmart Find( T *object ); >> >> So make typedef first. >> With templates it is often trial and error. Compilers are not that good :-( >> >> > I can understand how much a problem it must be to try and support as > many as possible. > >> Its almost a miracle it works with VC6 still, but that was no so easy too. >> >> > Does it build without warnings? I( don't have VC6 to test, but I would > be interested in knowing what it would take to get a totally warning > free build (assuming that that is even possible). > Almost. Only some template warning in Agg i belive, i use VC6 almost daily at work. > > >> What Borland are you using? And since you seem to have VS2005, why? >> > I have many compilers, but I have bcb6 and a demo of codegear rad (6 > days to go) because I am testing wxForms (http://www.twinforms.com) a > frame designer for Borland Builder (6, 2006 and 2007). I see. > I have wxDev-C++ > because I was a member of the development team for it, and still support it. > Oke, that makes it clear :-)
Klaas ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev