
7 Feb
2012
7 Feb
'12
2:08 a.m.
Ovanes Markarian пишет:
Take a look at synopsis. http://www.boost.org/doc/libs/1_47_0/libs/smart_ptr/shared_ptr.htm#allocator...
There is a constructor overload:
template
shared_ptr(Y * p, D d, A a); As I understand it, this ctor will allocate internal shared_ptr resources using an instance of Allocator A.
Thank you! I must re-read manual of boost now....
Actually, this raises the question what will happen with boost::shared_ptr after it made to C++11? Is it going to diverge from standard as an additional feature experiment or go hand in hand with C++11 or become obsolete for C++11 compilers?
O, this is good question, I want know answer :-) -- With best regards, Alexey Badyaev Russian Federation, Kemerovo