Boost C++ Libraries: Ticket #181: Can you use boost::pool with a smart_ptr https://svn.boost.org/trac10/ticket/181 <pre class="wiki">Hi, The program I am writing will create and delete a lot of objects. These objects will be referenced from multiple places. Obviously, I need a shared_ptr, however, I am worried about the performance during creation and deletion Can you use a boost::pool interface with the shared_ptr? I have tried using the pool, object_pool, singleton_pool interfaces but I can't get the constructor to run on my object. If I use the pool_alloc interface I have to use a container. Basically, I want to allocate objects from a memory pool and have these object pointed to by smart/shared_ptr so that when all of the references to the object are gone the object is deleted. Can anyone help me? </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/181 Trac 1.4.3 nobody Sun, 27 Jul 2003 17:07:03 GMT <link>https://svn.boost.org/trac10/ticket/181#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/181#comment:1</guid> <description> <pre class="wiki">Logged In: NO Here is my email address: jo@atsresults.com </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Fri, 01 Apr 2005 19:52:03 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/181#comment:2 https://svn.boost.org/trac10/ticket/181#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket