|
Boost Users : |
Subject: Re: [Boost-users] [smart_ptr] shared_count allocator
From: Alexey Badyaev (leemouse_at_[hidden])
Date: 2012-02-06 21:08:24
Ovanes Markarian пиÑеÑ:
> Take a look at synopsis.
> http://www.boost.org/doc/libs/1_47_0/libs/smart_ptr/shared_ptr.htm#allocator_constructor
>
> There is a constructor overload:
>
> template<class Y, class D, class A> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net