Boost logo

Boost :

Subject: [boost] [thread] no documented thread move support functions on reference documentation
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2008-11-08 17:13:20


Hi,

the following move support functions are not docummented on the reference
documentation.

#ifdef BOOST_HAS_RVALUE_REFS
    template <class F> thread(F&& f);
    thread(thread&& other);
    thread& operator=(thread&& other);
    thread&& move();
#else
#ifdef BOOST_NO_SFINAE
#else
    template <class F>
    explicit thread(F f,typename
disable_if<boost::is_convertible<F&,detail::thread_move_t<F> >, dummy*
>::type=0)
#endif
    template <class F> explicit thread(detail::thread_move_t<F> f);
    thread(detail::thread_move_t<thread> x);
    thread& operator=(detail::thread_move_t<thread> x);
    operator detail::thread_move_t<thread>();
    detail::thread_move_t<thread> move();
#endif

Even if the semantics of these functions could be induced for completud it
will be good to add them to the reference documentation.

The ticket is Ticket #2486

Thanks,

Vicente


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