On Mon, Oct 26, 2015 at 11:10 AM, Miklos Vajna <vmiklos@collabora.co.uk>
wrote:
On Mon, Oct 26, 2015 at 10:32:02AM -0400, Ashod Nakashian <
ashnakash@gmail.com> wrote:
Is this an unintentional coincidence that we're encouraged to cleanup, or
is there a policy as-such?
I don't think it's intentional that std::make_shared is under-used.
Before introducing new calls to boost::make_shared, it's a good idea to
check if you can first convert that boost::shared_ptr to std::shared_ptr
first, and then use std::make_shared, though.
Absolutely. I think boost -> std conversions are a given.
Thanks for the clarification. I think it's cleaner and more efficient to
use std::make_shared where possible.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.