On Friday, 12 August 2016 at 19:29:42 UTC, Shachar Shemesh wrote:
- Recursive const makes many cases where I can use const in C++ (and enjoy the protection it provides) simply mutable in D.
FWIW HeadConst can be easily done in a library and will hopefully soon be in Phobos.
https://github.com/dlang/phobos/pull/3862Note that the reverse of having a easy to use recursive const in library code of C++ is not true.
