Implementation of C++0x's "future" syntax

Lutger lutger.blijdestijn at gmail.com
Sun Jan 14 08:40:22 PST 2007


Daniel Keep wrote:
...

Cool stuff! I'm pretty much a multithreading newbie but it looks nice to 
me.

> P.S.  Kinda OT: has anyone else ever thought that being able to declare 
> void variables would be *really* handy in templates?  I keep having to 
> put in special cases for void... *grumble, grumble*

Yes very annoying, I had the same in my signal-slots implementation.

>  *     auto meaning = future(meaningOfLife);

So true, haha.



More information about the Digitalmars-d-announce mailing list