|
Boost : |
Subject: [boost] [smart_ptr] make_shared_array/allocate_shared_array function templates
From: Roman Kecher (roman.kecher_at_[hidden])
Date: 2009-11-09 10:51:29
Hi,
I'm suggesting to add the following function templates to allow easy,
exception-safe, creation of shared_array objects:
- make_shared_array (very similar to make_shared which is used to create
a shared_ptr)
- allocate_shared_array (again, same functionality like allocate_shared)
Is there any reason not to include these?
Regards,
Roman.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk