Boost logo

Boost :

From: Dirk Gerrits (dirkg_at_[hidden])
Date: 2002-05-23 04:15:58


----- Original Message -----
From: "Yitzhak Sapir" <yitzhaks_at_[hidden]>

> Using boost::thread(boost::ref(*this)) is not possible because ref()
> cannot know which return types to define for possible operator()
> calls.

Have you tried it? Because I don't think boost::ref has to know this at
all. boost::function0<void> can be constructed from ANY object for which
the code line: "object();" is legal. (This is all 'as far as I know'.)

Dirk Gerrits


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