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: Mon, 20 Nov 2006 18:08:04 -0500 (EST)

On Mon, 20 Nov 2006, Hans Aberg wrote:

> > C++ offers much more than just constructors and destructors for semantic
> > types in parsers.
> 
> I am not just sure exactly what, I mean, if one is not going to use C++ OO. I
> mean, the template system does not seem worth the effort. :-)

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.




reply via email to

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