On Wed, Apr 03, 2002 at 09:11:12AM +0000, Angus Leeming wrote:
> // Can't forward declare the typedef, but this works fine
> class flobjs_;
> typedef flobjs_ FL_OBJECT;
> class forms_;
> typedef forms_ FL_FORM;
> 
> Is there a better way or have I done the Right Thing?

Strange enough I would have bet that this is illegal.

But since I don't find anything in the Standard prohibiting it and both
g++ 2.95.2 and 3.0.2 compile it without complaint I'd say it is ok...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to