Boost logo

Boost :

From: Kowalke Oliver (QD IT PA AS) (Oliver.Kowalke_at_[hidden])
Date: 2008-04-14 03:58:52


Hello Braddock,
where does the code below block? I believe in boost::bind(Add, fa, 3) where fa is inplizitly converted to an int - right?
So JobQueue::schedule is executed only if fa got an value assigned?!

future<int> fb = q.schedule<int>(boost::bind(Add, fa, 3), fa); // fa + 3

Oliver


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk