View mode: basic / threaded / horizontal-split · Log in · Help
August 15, 2010
Re: The Status of Const
> I've added some trivial convenience functions to Phobos that should have been
> there a long time ago and should go a long way towards making Rebindable more
> usable.  The other thing we need is bug fixes in alias this/opDot, which we need
> eventually anyhow.  Now, instead of doing something like this ugly, verbose,
> specify-things-twice code:
> auto foo = Rebindable!(LongTypeName)(new LongTypeName);  // Shoot me.
> You can do:
> auto foo = rebindable(new LongTypeName);  // Sanity restored.

This was my bug report about it, I have closed it, thank you:

Top | Discussion index | About this forum | D home