<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Call a constructor or allocate an object in-place</title>
	<atom:link href="http://www.alexonlinux.com/call-a-constructor-or-allocate-an-object-in-place-2/feed" rel="self" type="application/rss+xml" />
	<link>http://www.alexonlinux.com/call-a-constructor-or-allocate-an-object-in-place-2</link>
	<description></description>
	<lastBuildDate>Sun, 05 Feb 2012 21:17:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: [Forwarded] how encapsulation, inheritance, polymophism work in C++ &#124; riding in tech world.</title>
		<link>http://www.alexonlinux.com/call-a-constructor-or-allocate-an-object-in-place-2/comment-page-1#comment-27713</link>
		<dc:creator>[Forwarded] how encapsulation, inheritance, polymophism work in C++ &#124; riding in tech world.</dc:creator>
		<pubDate>Mon, 14 Nov 2011 07:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexonlinux.com/?p=1803#comment-27713</guid>
		<description>[...] Call a constructor or allocate an object in-place [...]&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;27713&#039;,&#039;&#091;Forwarded&#093; how encapsulation, inheritance, polymophism work in C++ &#124; riding in tech world.&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;27713&#039;,&#039;&#091;Forwarded&#093; how encapsulation, inheritance, polymophism work in C++ &#124; riding in tech world.&#039;,&#039;&#091;...&#093; Call a constructor or allocate an object in-place &#091;...&#093;&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>[...] Call a constructor or allocate an object in-place [...]
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('27713','&amp;#91;Forwarded&amp;#93; how encapsulation, inheritance, polymophism work in C++ | riding in tech world.'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('27713','&amp;#91;Forwarded&amp;#93; how encapsulation, inheritance, polymophism work in C++ | riding in tech world.','&amp;#91;...&amp;#93; Call a constructor or allocate an object in-place &amp;#91;...&amp;#93;'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Sandler</title>
		<link>http://www.alexonlinux.com/call-a-constructor-or-allocate-an-object-in-place-2/comment-page-1#comment-24062</link>
		<dc:creator>Alexander Sandler</dc:creator>
		<pubDate>Thu, 29 Jul 2010 17:58:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexonlinux.com/?p=1803#comment-24062</guid>
		<description>&lt;a href=&#039;#comment-24049&#039; rel=&quot;nofollow&quot;&gt;@Hander&lt;/a&gt;
One of the reasons is to ease memory management. It is much easier to allocate large pools of memory and then allocate objects on the pool.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;24062&#039;,&#039;Alexander Sandler&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;24062&#039;,&#039;Alexander Sandler&#039;,&#039;&lt;a href=\&#039;#comment-24049\&#039; rel=\&quot;nofollow\&quot;&gt;@Hander&lt;\/a&gt;\r\nOne of the reasons is to ease memory management. It is much easier to allocate large pools of memory and then allocate objects on the pool.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-24049' rel="nofollow">@Hander</a><br />
One of the reasons is to ease memory management. It is much easier to allocate large pools of memory and then allocate objects on the pool.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('24062','Alexander Sandler'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('24062','Alexander Sandler','&lt;a href=\'#comment-24049\' rel=\&quot;nofollow\&quot;&gt;@Hander&lt;\/a&gt;\r\nOne of the reasons is to ease memory management. It is much easier to allocate large pools of memory and then allocate objects on the pool.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Sandler</title>
		<link>http://www.alexonlinux.com/call-a-constructor-or-allocate-an-object-in-place-2/comment-page-1#comment-24061</link>
		<dc:creator>Alexander Sandler</dc:creator>
		<pubDate>Thu, 29 Jul 2010 17:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexonlinux.com/?p=1803#comment-24061</guid>
		<description>&lt;a href=&#039;#comment-24050&#039; rel=&quot;nofollow&quot;&gt;@Brendan Miller&lt;/a&gt;
Thanks. I am familiar with most of these resources, but this is still very useful.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;24061&#039;,&#039;Alexander Sandler&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;24061&#039;,&#039;Alexander Sandler&#039;,&#039;&lt;a href=\&#039;#comment-24050\&#039; rel=\&quot;nofollow\&quot;&gt;@Brendan Miller&lt;\/a&gt;\r\nThanks. I am familiar with most of these resources, but this is still very useful.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-24050' rel="nofollow">@Brendan Miller</a><br />
Thanks. I am familiar with most of these resources, but this is still very useful.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('24061','Alexander Sandler'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('24061','Alexander Sandler','&lt;a href=\'#comment-24050\' rel=\&quot;nofollow\&quot;&gt;@Brendan Miller&lt;\/a&gt;\r\nThanks. I am familiar with most of these resources, but this is still very useful.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brendan Miller</title>
		<link>http://www.alexonlinux.com/call-a-constructor-or-allocate-an-object-in-place-2/comment-page-1#comment-24050</link>
		<dc:creator>Brendan Miller</dc:creator>
		<pubDate>Mon, 26 Jul 2010 17:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexonlinux.com/?p=1803#comment-24050</guid>
		<description>If you are really digging into c++, there are some great resources.

The C++ faq lite has information on placement new and other core language features:
http://www.parashift.com/c++-faq-lite/dtors.html#faq-11.10

Scott Meyer&#039;s Effective C++/Stl books are very good, and have similar information, but maybe better written.

Josuttis&#039; book The C++ Standard Library is a must read for applications programming. If you are in kernel space, you may not be able to use the standard library though.

Finally, the newsgroup comp.lang.c++.moderated is the very best place to ask questions. There tend to be a lot of language lawyers on that newsgroup who can answer even obscure questions, as long as you explain yourself clearly and provide example code.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;24050&#039;,&#039;Brendan Miller&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;24050&#039;,&#039;Brendan Miller&#039;,&#039;If you are really digging into c++, there are some great resources.\r\n\r\nThe C++ faq lite has information on placement new and other core language features:\r\nhttp:\/\/www.parashift.com\/c++-faq-lite\/dtors.html#faq-11.10\r\n\r\nScott Meyer\&#039;s Effective C++\/Stl books are very good, and have similar information, but maybe better written.\r\n\r\nJosuttis\&#039; book The C++ Standard Library is a must read for applications programming. If you are in kernel space, you may not be able to use the standard library though.\r\n\r\nFinally, the newsgroup comp.lang.c++.moderated is the very best place to ask questions. There tend to be a lot of language lawyers on that newsgroup who can answer even obscure questions, as long as you explain yourself clearly and provide example code.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>If you are really digging into c++, there are some great resources.</p>
<p>The C++ faq lite has information on placement new and other core language features:<br />
<a href="http://www.parashift.com/c++-faq-lite/dtors.html#faq-11.10" onclick="return TrackClick('http%3A%2F%2Fwww.parashift.com%2Fc%2B%2B-faq-lite%2Fdtors.html%23faq-11.10','http%3A%2F%2Fwww.parashift.com%2Fc%2B%2B-faq-lite%2Fdtors.html%23faq-11.10')" rel="nofollow">http://www.parashift.com/c++-faq-lite/dtors.html#faq-11.10</a></p>
<p>Scott Meyer&#8217;s Effective C++/Stl books are very good, and have similar information, but maybe better written.</p>
<p>Josuttis&#8217; book The C++ Standard Library is a must read for applications programming. If you are in kernel space, you may not be able to use the standard library though.</p>
<p>Finally, the newsgroup comp.lang.c++.moderated is the very best place to ask questions. There tend to be a lot of language lawyers on that newsgroup who can answer even obscure questions, as long as you explain yourself clearly and provide example code.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('24050','Brendan Miller'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('24050','Brendan Miller','If you are really digging into c++, there are some great resources.\r\n\r\nThe C++ faq lite has information on placement new and other core language features:\r\nhttp:\/\/www.parashift.com\/c++-faq-lite\/dtors.html#faq-11.10\r\n\r\nScott Meyer\'s Effective C++\/Stl books are very good, and have similar information, but maybe better written.\r\n\r\nJosuttis\' book The C++ Standard Library is a must read for applications programming. If you are in kernel space, you may not be able to use the standard library though.\r\n\r\nFinally, the newsgroup comp.lang.c++.moderated is the very best place to ask questions. There tend to be a lot of language lawyers on that newsgroup who can answer even obscure questions, as long as you explain yourself clearly and provide example code.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hander</title>
		<link>http://www.alexonlinux.com/call-a-constructor-or-allocate-an-object-in-place-2/comment-page-1#comment-24049</link>
		<dc:creator>Hander</dc:creator>
		<pubDate>Mon, 26 Jul 2010 14:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexonlinux.com/?p=1803#comment-24049</guid>
		<description>Hi Alex!

Can you provide a more detailed example of this kind of allocation? I&#039;ve found it very interesting, but i cannot see it&#039;s use for...

Thanks!
Hander&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;24049&#039;,&#039;Hander&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;24049&#039;,&#039;Hander&#039;,&#039;Hi Alex!\r\n\r\nCan you provide a more detailed example of this kind of allocation? I\&#039;ve found it very interesting, but i cannot see it\&#039;s use for...\r\n\r\nThanks!\r\nHander&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Hi Alex!</p>
<p>Can you provide a more detailed example of this kind of allocation? I&#8217;ve found it very interesting, but i cannot see it&#8217;s use for&#8230;</p>
<p>Thanks!<br />
Hander
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('24049','Hander'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('24049','Hander','Hi Alex!\r\n\r\nCan you provide a more detailed example of this kind of allocation? I\'ve found it very interesting, but i cannot see it\'s use for...\r\n\r\nThanks!\r\nHander'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Sandler</title>
		<link>http://www.alexonlinux.com/call-a-constructor-or-allocate-an-object-in-place-2/comment-page-1#comment-24047</link>
		<dc:creator>Alexander Sandler</dc:creator>
		<pubDate>Mon, 26 Jul 2010 05:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexonlinux.com/?p=1803#comment-24047</guid>
		<description>&lt;a href=&#039;#comment-24040&#039; rel=&quot;nofollow&quot;&gt;@Alon&lt;/a&gt;
Cool. Exactly the bit I was missing. Thanks.&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;24047&#039;,&#039;Alexander Sandler&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;24047&#039;,&#039;Alexander Sandler&#039;,&#039;&lt;a href=\&#039;#comment-24040\&#039; rel=\&quot;nofollow\&quot;&gt;@Alon&lt;\/a&gt;\r\nCool. Exactly the bit I was missing. Thanks.&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-24040' rel="nofollow">@Alon</a><br />
Cool. Exactly the bit I was missing. Thanks.
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('24047','Alexander Sandler'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('24047','Alexander Sandler','&lt;a href=\'#comment-24040\' rel=\&quot;nofollow\&quot;&gt;@Alon&lt;\/a&gt;\r\nCool. Exactly the bit I was missing. Thanks.'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alon</title>
		<link>http://www.alexonlinux.com/call-a-constructor-or-allocate-an-object-in-place-2/comment-page-1#comment-24040</link>
		<dc:creator>Alon</dc:creator>
		<pubDate>Sun, 25 Jul 2010 12:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexonlinux.com/?p=1803#comment-24040</guid>
		<description>To destroy an object created with a placement new, you explicitly  call the object destructor, this is the only time when you are actually allowed to do  that&lt;div class=&quot;comment-remix-meta&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;replyto&quot; onclick=&quot;replyto(&#039;24040&#039;,&#039;Alon&#039;); return false;&quot;&gt;Reply&lt;/a&gt;  - &lt;a href=&quot;#&quot; class=&quot;quote&quot; onclick=&quot;quote(&#039;24040&#039;,&#039;Alon&#039;,&#039;To destroy an object created with a placement new, you explicitly  call the object destructor, this is the only time when you are actually allowed to do  that&#039;); return false;&quot;&gt;Quote&lt;/a&gt;&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>To destroy an object created with a placement new, you explicitly  call the object destructor, this is the only time when you are actually allowed to do  that
<div class="comment-remix-meta"><a href="#" class="replyto" onclick="replyto('24040','Alon'); return false;">Reply</a>  &#8211; <a href="#" class="quote" onclick="quote('24040','Alon','To destroy an object created with a placement new, you explicitly  call the object destructor, this is the only time when you are actually allowed to do  that'); return false;">Quote</a></div>
]]></content:encoded>
	</item>
</channel>
</rss>

