Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Hmmmm, if memory serves me right, forward declarations like this with std::containers are strictly illegal. gcc is happy, but other compilers (MSVC?) complain. This code is essentially similar to the original paragraphlist_fwd.h (which forward declared std::list<Paragraph>) and which had to be scrapped...
#ifndef PARAGRAPH_LIST_FWD_H #define PARAGRAPH_LIST_FWD_H template <class T> class RandomAccessList; class Paragraph; typedef RandomAccessList<Paragraph> ParagraphList; #endif Sorry, if I'm a bit hazy, but I can't back up the "gut feeling" with proof from viewcvs... Regards, Angus