help-bison
[Top][All Lists]
Advanced

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

Re: [OT] Help with bisonc++(1)


From: Hans Åberg
Subject: Re: [OT] Help with bisonc++(1)
Date: Tue, 1 Aug 2017 10:48:33 +0200

> On 1 Aug 2017, at 05:49, Kip Warner <address@hidden> wrote:

>> It may have something to with that it it is abstract. Bison C++ uses
>> for stack std::deque, so copy constructors are not invoked.
> 
> Possibly, but I don't think so.

Your base class copy constructor is marked delete:

>    class Base
>    {
>        protected:
>            Tag__ d_baseTag;        // d_baseTag is assigned by Semantic.
> 
>        public:
>            Base() = default;
>            Base(B    ase const &other) = delete;


> I don't see any std::deque in the
> emitted code in question.

That is in the Bison C++ mode. 





reply via email to

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