On 10/14/19 3:46 PM, Jeff Law wrote:
On 10/14/19 6:09 AM, Nathan Sidwell wrote:
On 10/14/19 7:16 AM, Richard Biener wrote:
On Sun, Oct 13, 2019 at 4:45 PM Nathan Sidwell <nat...@acm.org> wrote:
In constifying some more of line-map I discovered gengtype didn't
know mutable.
Added thusly.
mutable is bad. Why do you want to use it?
the line map info has a caching field.
Isn't that in fact a classic use case for mutable?
Indeed it is. I'm curious as to the 'mutable is bad' origin. Is it
similar to 'goto is bad'?
nathan
--
Nathan Sidwell