bison-patches
[Top][All Lists]
Advanced

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

Re: FYI: default %printer/%destructor


From: Hans Aberg
Subject: Re: FYI: default %printer/%destructor
Date: Tue, 21 Nov 2006 21:09:36 +0100

On 21 Nov 2006, at 19:48, Joel E. Denny wrote:

I don't find the cleanup to be that tough especially now that we have
per-type %destructor. With the union, I find it convenient that some of my semantic types can be primitives, and I don't have to define a common
base class for all semantic types.

It sounds as though it is fine with you. :-)

It's fine if you want to do it your way.

Thank you.

My point is simply that
%destructor is useful for some grammars using the current C++ skeletons,
and thus %destructor is not a C only feature.

C++ does not have a way to force one to use its OO features.

  Hans Aberg






reply via email to

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