Opened 14 years ago

Closed 13 years ago

#2962 closed Bugs (fixed)

make_shared perfect forwarding

Reported by: fhess Owned by: Peter Dimov
Milestone: Boost 1.39.0 Component: smart_ptr
Version: Boost 1.38.0 Severity: Problem
Keywords: Cc:

Description

Attaching a patch to fix perfect forwarding with make_shared when compiling in c++0x mode. Also attaching a corresponding test program which I propose be added to the smart_ptr test suite.

Attachments (2)

make_shared_forward.patch (418 bytes ) - added by fhess 14 years ago.
make_shared perfect forwarding fix
make_shared_perfect_forwarding_test.cpp (2.0 KB ) - added by fhess 14 years ago.

Download all attachments as: .zip

Change History (4)

by fhess, 14 years ago

Attachment: make_shared_forward.patch added

make_shared perfect forwarding fix

comment:1 by Frank Mori Hess, 13 years ago

(In [57520]) Fixed perfect forwarding for make_shared() in trunk, and added corresponding test. Refs #2962.

comment:2 by Peter Dimov, 13 years ago

Resolution: fixed
Status: newclosed

(In [57960]) Merge [57520] to release. Fixes #2962.

Note: See TracTickets for help on using tickets.