I'm fairly sure this is legal C++ code.ÃÂ Try compiling this source
with gcc-2.95.3 and have a look at the errors.ÃÂ Is this a bug?
ÃÂ
#include <list>
namespace foo
{
ÃÂ typedef void (*destroy) (void* ptr);
ÃÂ class bar
ÃÂ {
ÃÂ public:
ÃÂ ÃÂ ÃÂ bar();
ÃÂ };
}
using namespace foo;
list<bar*> lb;
ÃÂ
Thanks,
Eric.