bug-bison
[Top][All Lists]
Advanced

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

Re: (non)Use of C++ 11 constructs in skeleton


From: Akim Demaille
Subject: Re: (non)Use of C++ 11 constructs in skeleton
Date: Sun, 19 May 2019 10:12:36 +0200

Hi Don,

> Le 19 mai 2019 à 04:02, Don Macpherson <address@hidden> a écrit :
> 
> Hi,
> Various places in the C++ skeleton have comments of the form:
> 
> /// This class is not copyable
> /// Prohibit blind copies
> 
> while not actually informing the compiler of this fact (though the use of =
> delete).
> 
> Given that the skeleton already has other C++11 conditional code, and that
> the code produced by the skeleton is consumed within the users code base,
> the output from the skeleton should endeavour to appropriately use other
> modern C++ features.

Yes, you are right, we should also do that.  So far I resisted the temptation 
to keep the out simple and avoid cascades of #if, but maybe we should do it 
anyway.

Bison 3.4 is about to be published, I'm not going to do that now, but we'll do 
that afterwards.

Cheers!


reply via email to

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