Opened 13 years ago
Closed 11 years ago
#3975 closed Patches (fixed)
Incorrect precondition for promise::set_wait_callback()
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.49.0 | Component: | thread |
Version: | Boost 1.42.0 | Severity: | Problem |
Keywords: | Cc: | viboes |
Description
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!)
Attachments (1)
Change History (4)
by , 12 years ago
Attachment: | future_ref.patch added |
---|
comment:1 by , 12 years ago
Type: | Bugs → Patches |
---|
comment:2 by , 11 years ago
Cc: | added |
---|---|
Milestone: | Boost 1.43.0 → Boost 1.49.0 |
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed in release at #76291
Note:
See TracTickets
for help on using tickets.
Committed in trunk revision 75790.