<?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: 12.5 &#8212; The virtual table</title>
	<atom:link href="http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 12:30:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: partha</title>
		<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/comment-page-3/#comment-96810</link>
		<dc:creator>partha</dc:creator>
		<pubDate>Tue, 10 Jan 2012 11:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/#comment-96810</guid>
		<description>strong technique explained with simplicity. good work. thanks much !!</description>
		<content:encoded><![CDATA[<p>strong technique explained with simplicity. good work. thanks much !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomato Blog</title>
		<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/comment-page-3/#comment-96536</link>
		<dc:creator>Tomato Blog</dc:creator>
		<pubDate>Fri, 02 Dec 2011 23:13:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/#comment-96536</guid>
		<description>&lt;strong&gt;Pass C++/CLI delegate as function pointer into native C++ class...&lt;/strong&gt;

To Pass C++/CLI delegate as function pointer into native C++ class, you can make use of this .net method: System::Runtime::InteropServices::Marshal::GetFunctionPointerForDelegate, the key point is: define the delagate (MyDelegate^ m_myDelegate in my ex...</description>
		<content:encoded><![CDATA[<p><strong>Pass C++/CLI delegate as function pointer into native C++ class&#8230;</strong></p>
<p>To Pass C++/CLI delegate as function pointer into native C++ class, you can make use of this .net method: System::Runtime::InteropServices::Marshal::GetFunctionPointerForDelegate, the key point is: define the delagate (MyDelegate^ m_myDelegate in my ex&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: akjace</title>
		<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/comment-page-3/#comment-96129</link>
		<dc:creator>akjace</dc:creator>
		<pubDate>Mon, 10 Oct 2011 21:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/#comment-96129</guid>
		<description>very well written!</description>
		<content:encoded><![CDATA[<p>very well written!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chetan</title>
		<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/comment-page-3/#comment-95889</link>
		<dc:creator>Chetan</dc:creator>
		<pubDate>Sat, 20 Aug 2011 14:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/#comment-95889</guid>
		<description>Muhaa thank you soo much for posting this about Vtable .</description>
		<content:encoded><![CDATA[<p>Muhaa thank you soo much for posting this about Vtable .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dolly</title>
		<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/comment-page-3/#comment-95729</link>
		<dc:creator>Dolly</dc:creator>
		<pubDate>Mon, 18 Jul 2011 10:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/#comment-95729</guid>
		<description>Excellent article For Virtual Table.</description>
		<content:encoded><![CDATA[<p>Excellent article For Virtual Table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ajloeffl</title>
		<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/comment-page-3/#comment-95580</link>
		<dc:creator>ajloeffl</dc:creator>
		<pubDate>Sat, 18 Jun 2011 03:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/#comment-95580</guid>
		<description>sapnads,

All you are doing is making a base pointer (pClass) that points to an already created derived class (D1).  This is standard practice and the *__vpr points to the virtual function table for a D1 object type.</description>
		<content:encoded><![CDATA[<p>sapnads,</p>
<p>All you are doing is making a base pointer (pClass) that points to an already created derived class (D1).  This is standard practice and the *__vpr points to the virtual function table for a D1 object type.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sapnads</title>
		<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/comment-page-3/#comment-95579</link>
		<dc:creator>sapnads</dc:creator>
		<pubDate>Fri, 17 Jun 2011 19:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/#comment-95579</guid>
		<description>Hi,

That was a really good article. However I have a question. What if objects of both base classes are created before you use a pointer of type BaseClass. Eg: 
&lt;code&gt;
D1 c1Class;
D2 c2Class;
Base *pClass = &amp;c1Class;
&lt;/code&gt;

what does the hidden pointer point to now?

Thanks. I really appreciate the help.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>That was a really good article. However I have a question. What if objects of both base classes are created before you use a pointer of type BaseClass. Eg:<br />
<code><br />
D1 c1Class;<br />
D2 c2Class;<br />
Base *pClass = &amp;c1Class;<br />
</code></p>
<p>what does the hidden pointer point to now?</p>
<p>Thanks. I really appreciate the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chezhian.p</title>
		<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/comment-page-3/#comment-95493</link>
		<dc:creator>chezhian.p</dc:creator>
		<pubDate>Thu, 26 May 2011 10:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/#comment-95493</guid>
		<description>very useful and made the concept very understandable.</description>
		<content:encoded><![CDATA[<p>very useful and made the concept very understandable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brahmaji_m</title>
		<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/comment-page-3/#comment-95469</link>
		<dc:creator>brahmaji_m</dc:creator>
		<pubDate>Wed, 18 May 2011 14:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/#comment-95469</guid>
		<description>Wonderful ! Finally found a simple explanation for Vtables</description>
		<content:encoded><![CDATA[<p>Wonderful ! Finally found a simple explanation for Vtables</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devyani</title>
		<link>http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/comment-page-3/#comment-95467</link>
		<dc:creator>devyani</dc:creator>
		<pubDate>Wed, 18 May 2011 06:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/#comment-95467</guid>
		<description>great one...!!!! helped me a lot! thanks! :)</description>
		<content:encoded><![CDATA[<p>great one&#8230;!!!! helped me a lot! thanks! :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

