Opened 6 years ago

Closed 6 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 Changed 6 years ago by viboes

Status: newassigned

comment:2 Changed 6 years ago by viboes

Type: BugsFeature Requests

comment:3 Changed 6 years ago by viboes

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

comment:4 Changed 6 years ago by viboes

Milestone: To Be Determined

comment:5 Changed 6 years ago by viboes

Milestone: Boost 1.53.0

comment:6 Changed 6 years ago by viboes

Committed revision [81667].

comment:7 Changed 6 years ago by viboes

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