In general how should I reason about whether an aggregate type should be encoded as a struct or class?
Should a parser type be a struct or class?
Per Nordlöw via Digitalmars-d-learn Wed, 17 Jun 2020 04:55:40 -0700
Should a range-compliant aggregate type realizing a parser be
encoded as a struct or class? In dmd `Lexer` and `Parser` are
both classes.
- Should a parser type be a struct ... Per Nordlöw via Digitalmars-d-learn
- Re: Should a parser type be ... Simen Kjærås via Digitalmars-d-learn
- Re: Should a parser type be ... Stanislav Blinov via Digitalmars-d-learn
- Re: Should a parser type be ... H. S. Teoh via Digitalmars-d-learn
- Re: Should a parser type be ... Stefan Koch via Digitalmars-d-learn
- Re: Should a parser type... Adam D. Ruppe via Digitalmars-d-learn
- Re: Should a parser ... H. S. Teoh via Digitalmars-d-learn
- Re: Should a parser ... welkam via Digitalmars-d-learn
- Re: Should a par... welkam via Digitalmars-d-learn
- Re: Should a parser type be ... user1234 via Digitalmars-d-learn
- Re: Should a parser type be ... Meta via Digitalmars-d-learn