bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: default %printer/%destructor


From: Joel E. Denny
Subject: Re: FYI: default %printer/%destructor
Date: Tue, 21 Nov 2006 13:23:07 -0500 (EST)

On Tue, 21 Nov 2006, Hans Aberg wrote:

> > Why can't you use C++ OO?  Pointers to non-POD's work fine.  Polymorphism
> > works fine.  The rest of your program (besides the parser) can use
> > non-POD's without restraint.  There's also the C++ standard library.
> 
> If one should program in what essentially is the C-subset

Why are you assuming this?

> As for my program, the parser builds dynamic iterated polymorphic objects,
> and in cmopbination with a reference count, that is very convenient.

I have programs that do this too.  Inside the union, pointers to non-POD's 
work fine.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]