Subject: [Boost-bugs] [Boost C++ Libraries] #2738: at_thread_exit move overloading
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-10 16:40:04
#2738: at_thread_exit move overloading
---------------------------------+------------------------------------------
Reporter: viboes | Owner: anthonyw
Type: Feature Requests | Status: new
Milestone: Boost 1.39.0 | Component: thread
Version: Boost 1.37.0 | Severity: Optimization
Keywords: at_thread_exit move |
---------------------------------+------------------------------------------
What do you think about adding move support for at_thread_exit?
{{{
#!cpp
template<typename F>
void at_thread_exit(F&& f);
}}}
and be emulated with the following prototypes?
{{{
#!cpp
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?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2738> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC