bug-bison
[Top][All Lists]
Advanced

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

Re: too many warnings from Bison CVS for Pike


From: Akim Demaille
Subject: Re: too many warnings from Bison CVS for Pike
Date: Sat, 25 Feb 2006 17:36:34 +0100


Le 25 févr. 06 à 07:05, Hans Aberg a écrit :


On 24 Feb 2006, at 22:24, Akim Demaille wrote:


Le 23 févr. 06 à 21:34, Hans Aberg a écrit :

In summary, if one does not need a dynamic polymorphic variable in the extra-parser computations, then a discriminating union will be useful. But it does not serve as a replacement in the case a dynamic polymorphic variable is needed.

There is no problem with storing a polymorphic pointer in a
variant.

The idea is to use the traditional C++ virtual hierarchy. This is the model that was introduced into C++ as an extension of the corresponding one in C.

Which is precisely what I refer to as a polymorphic pointer.


I fail to see the point of your comment.

You probably need to learn this C++ programing first, then.

Yeah, right.



reply via email to

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