Boost logo

Boost :

Subject: [boost] [thread] at_thread_exit move overloading
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2008-11-12 04:30:19


Hi,

What do you think about adding move support for at_thread_exit?

        template<typename F>
        void at_thread_exit(F&& f);

and be emulated with the following prototypes?

        template<typename F>
        void at_thread_exit(detail::thread_move_t<F> f);
        template<typename F>
        void at_thread_exit(F f, typename disable_if<boost::is_convertible<F&,detail::thread_move_t<F> >, dummy* >::type=0);

BTW, could you tell us why this function is not included on the C++0x proposal?

Best,

Vicente


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