Rebooting the __metada/__mutable discussion

rikki cattermole rikki at cattermole.co.nz
Sun Apr 10 23:12:03 UTC 2022


On 11/04/2022 3:04 AM, Alexandru Ermicioi wrote:
> Isn't better then to try and find design patterns or rules for use with 
> mutable RC structures?

Yes.

But if the compiler allows RC to become const and not allow RC to occur, 
that is a bad situation to be in...

That is what my test code above does, it prevents you from using it with 
const as much as possible.

It is a workaround to a much larger problem.


More information about the Digitalmars-d mailing list