Modify

Opened 4 years ago

Closed 4 years ago

#8677 closed Feature Requests (fixed)

Async: Add future<>::get_or

Reported by: viboes Owned by: viboes
Milestone: Boost 1.55.0 Component: thread
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

Quite often the user as a fall back value that should be used when the future has an exception.

For non void futures a get_or function similar to the one of std::optional could be useful

R get_or(R&& v);

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by viboes

Type: BugsFeature Requests

comment:2 Changed 4 years ago by viboes

Milestone: To Be DeterminedBoost 1.55.0
Owner: changed from Anthony Williams to viboes
Status: newassigned

comment:3 Changed 4 years ago by viboes

Committed revision [84719].

comment:4 Changed 4 years ago by viboes

Resolution: fixed
Status: assignedclosed

Changeset [85200]

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.