|
Boost : |
Subject: Re: [boost] [shared_ptr] Design question about make_shared
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2011-06-16 00:44:03
[Emil Dotchevski]
> I wouldn't say that make_shared goes out of its way to be a free
> function -- it is a free function by default, so to speak. You need to
> have an upside to making something a member function, something that
> offsets the price you're paying in terms of coupling.
That's reasonable. Or to put it another way, "don't be bloaty like std::string".
STL
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk