Modify

Opened 5 years ago

Closed 5 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.

Attachments (0)

Change History (7)

comment:1 Changed 5 years ago by viboes

Status: newassigned

comment:2 Changed 5 years ago by viboes

Type: BugsFeature Requests

comment:3 Changed 5 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 5 years ago by viboes

Milestone: To Be Determined

comment:5 Changed 5 years ago by viboes

Milestone: Boost 1.53.0

comment:6 Changed 5 years ago by viboes

Committed revision [81667].

comment:7 Changed 5 years ago by viboes

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain viboes.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.