Mercurial > ~dholland > hg > ag > index.cgi
view anagram/agcore/pgg24-defs.h @ 6:607e3be6bad8
Adjust to the moving target called the C++ standard.
Apparently nowadays it's not allowed to define an explicit copy
constructor but not an assignment operator. Consequently, defining the
explicit copy constructor in terms of the implicit/automatic
assignment operator for general convenience no longer works.
Add assignment operators.
Caution: not tested with the IBM compiler, but there's no particular
reason it shouldn't work.
author | David A. Holland |
---|---|
date | Mon, 30 May 2022 23:46:22 -0400 |
parents | 13d2b8934445 |
children |
line wrap: on
line source
/* * AnaGram, A System for Syntax Directed Programming * Copyright 1989-2002 Jerome T. Holland. All Rights Reserved. * See the file COPYING for license and usage terms. * * pgg24-defs.h - interface to pgg24.syn */ #ifndef PGG24_DEFS_H #define PGG24_DEFS_H class CharSetExpression; // from csexp.h, for pgg24.h #include "cint.h" // required by pgg24.h #include "pgg24.h" extern pgg_pcb_type pgcb; void parse(void); #endif /* PGG24_DEFS_H */