Opened 11 years ago

Closed 10 years ago

#6228 closed Tasks (fixed)

Add promise constructor with allocator following the standard c++11

Reported by: viboes Owned by: viboes
Milestone: Boost 1.50.0 Component: thread
Version: Boost 1.48.0 Severity: Not Applicable
Keywords: Cc:

Description

template <class Allocator>
promise(allocator_arg_t, const Allocator& a);

Effects: constructs a promise object and a shared state. The second constructor uses the allocator a to allocate memory for the shared state.

Attachments (1)

6228.patch (53.6 KB ) - added by viboes 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by viboes, 11 years ago

Summary: Add promise constructor with allocator following the standard c++11Add promise and futures constructor with allocator following the standard c++11

comment:2 by viboes, 11 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

by viboes, 11 years ago

Attachment: 6228.patch added

comment:3 by viboes, 11 years ago

Milestone: To Be DeterminedBoost 1.50.0
Summary: Add promise and futures constructor with allocator following the standard c++11Add promise constructor with allocator following the standard c++11

Committed in trunk revision 77666.

comment:4 by viboes, 10 years ago

Resolution: fixed
Status: assignedclosed

Committed in release branch at [78543]

Note: See TracTickets for help on using tickets.