August 15, 2010
dsimcha:
> 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: http://d.puremagic.com/issues/show_bug.cgi?id=4471

Bye,
bearophile
Top | Discussion index | About this forum | D home