<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Subclassing templates</title>
	<atom:link href="http://cplusplus.co.il/2009/10/09/subclassing-templates/feed/" rel="self" type="application/rss+xml" />
	<link>http://cplusplus.co.il/2009/10/09/subclassing-templates/</link>
	<description>Discussing modern C++ and related topics.</description>
	<lastBuildDate>Wed, 21 Jul 2010 15:13:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: lprichmond</title>
		<link>http://cplusplus.co.il/2009/10/09/subclassing-templates/#comment-243</link>
		<dc:creator>lprichmond</dc:creator>
		<pubDate>Fri, 08 Jan 2010 20:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=341#comment-243</guid>
		<description>@ASk: &lt;code&gt;Base::print&lt;/code&gt; and &lt;code&gt;Base&lt;T&gt;::print&lt;/code&gt; will refer to the same instantiation. More generally, when inside the scope of a derived class, a class template base name may be used without being qualified by its template parameter list.

Often times, people will attempt to shorten their code (in a derived class) by using, for example:
&lt;code&gt;typedef Base&lt;T&gt; MyBase&lt;/code&gt;

This is, however, completely redundant.</description>
		<content:encoded><![CDATA[<p>@ASk: <code>Base::print</code> and <code>Base&lt;T&gt;::print</code> will refer to the same instantiation. More generally, when inside the scope of a derived class, a class template base name may be used without being qualified by its template parameter list.</p>
<p>Often times, people will attempt to shorten their code (in a derived class) by using, for example:<br />
<code>typedef Base&lt;T&gt; MyBase</code></p>
<p>This is, however, completely redundant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rmn</title>
		<link>http://cplusplus.co.il/2009/10/09/subclassing-templates/#comment-230</link>
		<dc:creator>rmn</dc:creator>
		<pubDate>Mon, 21 Dec 2009 20:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=341#comment-230</guid>
		<description>A related post can be found at &lt;a href=&quot;http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html&quot; rel=&quot;nofollow&quot;&gt;the LLVM Project blog&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>A related post can be found at <a href="http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html" rel="nofollow">the LLVM Project blog</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASk</title>
		<link>http://cplusplus.co.il/2009/10/09/subclassing-templates/#comment-64</link>
		<dc:creator>ASk</dc:creator>
		<pubDate>Sun, 11 Oct 2009 20:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=341#comment-64</guid>
		<description>This is of course supposed to be Base&lt;T&gt;::print</description>
		<content:encoded><![CDATA[<p>This is of course supposed to be Base&lt;T&gt;::print</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASk</title>
		<link>http://cplusplus.co.il/2009/10/09/subclassing-templates/#comment-63</link>
		<dc:creator>ASk</dc:creator>
		<pubDate>Sun, 11 Oct 2009 20:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://cpptalk.wordpress.com/?p=341#comment-63</guid>
		<description>You can also say:
using Base::print;

and then the name will be made available.</description>
		<content:encoded><![CDATA[<p>You can also say:<br />
using Base::print;</p>
<p>and then the name will be made available.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
