News for hackers. Stuff that matters.
Re:Immer is a library of persistent and immutable data struc... by leni536 on Thursday September 12, 2019 @03:45AM (#20949018)
I don't fully grasp what you are trying to do here. This looks familiar though:

> What I have specifically is a class that provides a base set of operations and a subclass that lets you do some modifications

If you actually do this with public inheritance then you possibly break const correctness.

Having to separate types for the immutable and mutable data structures with appropriate conversions is a sound idea though.

There are no comments on this comment yet.