АР
Size: a a a
АР
CD
struct A {
static std::shared_ptr<A> get_A() {
return std::make_shared<A>();
}
};
CD
class some_type {
//blahblah
};
using some_ptr = std::shared_ptr<some_type>;
some_ptr create_some(); /*make_shared*/
namespace some {
some_ptr make_special1(a, b, c);
some_ptr make_special2(d, e, f);
}
АР
АР
CD
АР
АР
АР
shared_ptr<IFoo> MakeFoo();
CD
АР
CD
АР
CD
CD
АР
CD
АР
АР
CD