[TUHS] v7 K&R C
Michael Kjörling
michael at kjorling.se
Mon May 11 21:36:39 AEST 2020
On 10 May 2020 17:28 -0700, from scj at yaccman.com:
> With respect to enums, there is a feature I've wanted for years: a typed
> typedef. Saying typetdef int foo would make foo an integer, but if you
> passed an ordinary int to something declared as foo it would be an
> error. Even if it was an integer constant unless cast.
Isn't that at least pretty close to how Ada does it?
--
Michael Kjörling • https://michael.kjorling.se • michael at kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”
More information about the TUHS
mailing list