Const initialization issue, looking for solution

Jakob Ovrum jakobovrum at gmail.com
Wed May 29 06:00:58 PDT 2013


On Wednesday, 29 May 2013 at 12:54:24 UTC, Dicebot wrote:
> Ah, I understand that know. Well, until flow analysis is here I 
> am afraid you can't really do anything better than assumeUnique 
> or similar utility function.

I'm hoping there's a way to restructure the code so it works 
(making it more functional or whatever), but I can't for the life 
of me think of a way :<

Maybe leveraging another function, hopefully a Phobos function 
(like std.exception ones), can solve the issue neatly...


More information about the Digitalmars-d mailing list