Boost logo

Boost :

From: Pete Becker (petebecker_at_[hidden])
Date: 2002-06-20 08:27:06

At 03:06 PM 6/20/2002 +0300, Peter Dimov wrote:
>explicit thread::thread(const boost::function0<void>& threadfunc);
>Shouldn't this be
>template<class F> explicit thread::thread(F threadfunc);
>As it is, implementors are forced to roll their own function0<void>. (How
>does CoreX deal with this?)

We provide the template. That was easier than thinking about whether to
duplicate boost::function0.

        -- Pete

Dinkumware, Ltd.
"Genuine Software"

Boost list run by bdawes at, gregod at, cpdaniel at, john at