What are the major issues with const/immutable and ref?

Const and immutable seem to be difficult to work with, Maxime wrote a piece about how difficult to use they were in practice. Ref is difficult to combine properly with generic templates, Manu covers that in another thread here.

Maxime's blog:
http://pointersgonewild.wordpress.com/2014/07/11/the-constness-problem/

Manu's post about the combinatorial complexity of ref for templates (which you've responded to earlier in the chain):
http://forum.dlang.org/post/mailman.1381.1411381413.5783.digitalmar...@puremagic.com

Reply via email to