
16 Jun
2011
16 Jun
'11
4:44 a.m.
[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