3 Oct
2013
3 Oct
'13
5:18 p.m.
On 03-10-2013 19:04, Andrey Semashev wrote:
On Thursday 03 October 2013 18:37:45 Thorsten Ottosen wrote:
with use like
shared_obj<Foo> sharedFoo = make_shared_obj( 42, "foo" );
would be good names.
I agree, this is a good alternative. Although why not immediately this:
shared_obj<Foo> sharedFoo( 42, "foo" );
Seems good. As long as it implements the "allocate counts and object in one allocation". -Thorsten