[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ token move constructors/assignment with LALR
From: |
Frank Heckenbach |
Subject: |
Re: C++ token move constructors/assignment with LALR |
Date: |
Sat, 03 Sep 2022 23:30:50 +0200 |
Akim Demaille wrote:
> > BTW, when checking this, I noticed there's a "void move" function
> > declared (actually 3 of them for different classes) in the skeletons
> > which I thought were involved here, but there doesn't seem to be any
> > definition of them. So these declarations may be remnants, and you
> > might want to remove them, Akim.
>
> These functions are not C++ standard, they participate in Bison's effort to
> have some form of move semantics in C98.
I see now. I had searched for the definitions by grepping for
"void[[:space:]]*move", but it didn't find them because they're
indented like
void
move ()
I know that's FSF coding style, but I was reminded again why I don't
like it ... ;)
Regards,
Frank