Opened 10 years ago

Closed 10 years ago

#7414 closed Feature Requests (fixed)

c++11 compliance: future::get post-condition should be valid()==false

Reported by: viboes Owned by: viboes
Milestone: Boost 1.53.0 Component: thread
Version: Boost 1.51.0 Severity: Problem
Keywords: Cc:

Description

One of the differences between a future and a shared_future is that the value can be retrieved just once. This is the behavior of the standard. Boost.thread should behaves in this way as well.

Change History (7)

comment:1 by viboes, 10 years ago

Status: newassigned

comment:2 by viboes, 10 years ago

Type: BugsFeature Requests

comment:3 by viboes, 10 years ago

Summary: future::get post-condition should be valid()==falsec++11 compliance: future::get post-condition should be valid()==false

comment:4 by viboes, 10 years ago

Milestone: To Be Determined

comment:5 by viboes, 10 years ago

Milestone: Boost 1.53.0

comment:6 by viboes, 10 years ago

Committed revision [81667].

comment:7 by viboes, 10 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.