"bearophile" <bearophileh...@lycos.com> wrote in message news:iv9grs$286j$1...@digitalmars.com... >> Seeing the recent large amount of pull requests I am seeing, is someone >> willing to implement this type system feature? > > yebblies delivers, quickly too :-) > http://d.puremagic.com/issues/show_bug.cgi?id=5081 > https://github.com/D-Programming-Language/dmd/pull/218 >
Only for strongly pure functions - not const pure at this point. Still, it should make construction of immutable structures without casting a lot easier.