[Boost-bugs] [Boost C++ Libraries] #3975: Incorrect precondition for promise::set_wait_callback()

Subject: [Boost-bugs] [Boost C++ Libraries] #3975: Incorrect precondition for promise::set_wait_callback()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-03 17:23:10


#3975: Incorrect precondition for promise::set_wait_callback()
--------------------------------------------------------+-------------------
 Reporter: Jonathan Wakely <jwakely.boost@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: thread
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: |
--------------------------------------------------------+-------------------
 The documented preconditions for promise::set_wait_callback() say:

 "The expression f(t) where t is a lvalue of type boost::packaged_task
 shall be well-formed."

 That should say boost::promise, not boost::packaged_task.

 (btw wait callbacks are a very nice feature!)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3975>
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:50:02 UTC