<?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#"
	
	>
<channel>
	<title>
	Comments on: Function Templates Partial Specialization in C++	</title>
	<atom:link href="https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/</link>
	<description>Jonathan Boccara&#039;s blog</description>
	<lastBuildDate>Thu, 22 Nov 2018 12:54:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.3</generator>
	<item>
		<title>
		By: Jonathan Boccara		</title>
		<link>https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-1480</link>

		<dc:creator><![CDATA[Jonathan Boccara]]></dc:creator>
		<pubDate>Thu, 22 Nov 2018 12:54:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=1834#comment-1480</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-1467&quot;&gt;Pablo Hdez&lt;/a&gt;.

Hey Pablo, I can&#039;t see why not, because Foo would be a different type than Foo&#060;vector,V&#062;. Do you see an issue with this? And did I understand the question well? :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-1467">Pablo Hdez</a>.</p>
<p>Hey Pablo, I can&#8217;t see why not, because Foo would be a different type than Foo&lt;vector,V&gt;. Do you see an issue with this? And did I understand the question well? 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pablo Hdez		</title>
		<link>https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-1467</link>

		<dc:creator><![CDATA[Pablo Hdez]]></dc:creator>
		<pubDate>Thu, 15 Nov 2018 14:41:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=1834#comment-1467</guid>

					<description><![CDATA[Hey Jonathan, great post. Do you think Simon Brand approach could be expanded for the case that instead of:
 &lt;pre&gt;
   &lt;code&gt;
    std::vector
&lt;/code&gt;
&lt;/pre&gt;
 we have a type with multiple parameters:
 &lt;code&gt; Foo&lt;/code&gt;?]]></description>
			<content:encoded><![CDATA[<p>Hey Jonathan, great post. Do you think Simon Brand approach could be expanded for the case that instead of:</p>
<pre>
   <code>
    std::vector
</code>
</pre>
<p> we have a type with multiple parameters:<br />
 <code> Foo</code>?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Владимир Невзоров		</title>
		<link>https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-1081</link>

		<dc:creator><![CDATA[Владимир Невзоров]]></dc:creator>
		<pubDate>Mon, 25 Jun 2018 18:06:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=1834#comment-1081</guid>

					<description><![CDATA[Thank you for the post!
Althought I&#039;m juniour developer, I understood many things from here.
But the part with a technique that Simon Brand proposed was pretty difficult for me.
The reasons I suppose that:
1. It didn&#039;t make sense for me why do we need this.
2. Code is presented. But examples of the usage are not. Unfortunately...]]></description>
			<content:encoded><![CDATA[<p>Thank you for the post!<br />
Althought I&#8217;m juniour developer, I understood many things from here.<br />
But the part with a technique that Simon Brand proposed was pretty difficult for me.<br />
The reasons I suppose that:<br />
1. It didn&#8217;t make sense for me why do we need this.<br />
2. Code is presented. But examples of the usage are not. Unfortunately&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jonathan Boccara		</title>
		<link>https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-492</link>

		<dc:creator><![CDATA[Jonathan Boccara]]></dc:creator>
		<pubDate>Wed, 16 Aug 2017 17:14:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=1834#comment-492</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-489&quot;&gt;Daniel Houck&lt;/a&gt;.

Oh right! Yes you&#039;re absolutely right. I fixed it now, well spotted!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-489">Daniel Houck</a>.</p>
<p>Oh right! Yes you&#8217;re absolutely right. I fixed it now, well spotted!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Amir Shrestha		</title>
		<link>https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-490</link>

		<dc:creator><![CDATA[Amir Shrestha]]></dc:creator>
		<pubDate>Tue, 15 Aug 2017 21:29:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=1834#comment-490</guid>

					<description><![CDATA[Chapter 13 (Partial Specialization of Function Templates) from the book C++ Templates: The Complete Guide touches little on this topic. May be the new second edition of this book covers more on this topic ...]]></description>
			<content:encoded><![CDATA[<p>Chapter 13 (Partial Specialization of Function Templates) from the book C++ Templates: The Complete Guide touches little on this topic. May be the new second edition of this book covers more on this topic &#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel Houck		</title>
		<link>https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-489</link>

		<dc:creator><![CDATA[Daniel Houck]]></dc:creator>
		<pubDate>Tue, 15 Aug 2017 20:23:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=1834#comment-489</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-488&quot;&gt;Jonathan Boccara&lt;/a&gt;.

No, that renders correctly; I meant the other two, which seem to be missing their parameter lists though. For example, #1 reads as &lt;pre&gt;&lt;code&gt;template void f(T ); // #1&lt;/code&gt;&lt;/pre&gt; which doesn’t have the `typename T` part.

I believe you meant
&lt;pre&gt;&lt;code&gt;
template &#060;typename T&#062; void f(T ); // #1
template &#060;typename T&#062; void f(T* ); // #2
template &#060;&#062; void f&#060;&#062;(int* ); // #3
&lt;/code&gt;&lt;/pre&gt;
and
&lt;pre&gt;&lt;code&gt;
template &#060;typename T&#062; void f(T ); // #1
template &#060;&#062; void f&#060;&#062;(int* ); // #3
template &#060;typename T&#062; void f(T* ); // #2
&lt;/code&gt;&lt;/pre&gt;

(I don’t know why it’s highlighting that as though everything but the first line is still a comment)

Clang agrees; when I use my versions I get the results you specified (e.g. &lt;a href=&quot;https://godbolt.org/g/tPRcZX&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;); when I use the versions I copied I get compiler errors because it doesn’t know what `T` is.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-488">Jonathan Boccara</a>.</p>
<p>No, that renders correctly; I meant the other two, which seem to be missing their parameter lists though. For example, #1 reads as </p>
<pre><code>template void f(T ); // #1</code></pre>
<p> which doesn’t have the `typename T` part.</p>
<p>I believe you meant</p>
<pre><code>
template &lt;typename T&gt; void f(T ); // #1
template &lt;typename T&gt; void f(T* ); // #2
template &lt;&gt; void f&lt;&gt;(int* ); // #3
</code></pre>
<p>and</p>
<pre><code>
template &lt;typename T&gt; void f(T ); // #1
template &lt;&gt; void f&lt;&gt;(int* ); // #3
template &lt;typename T&gt; void f(T* ); // #2
</code></pre>
<p>(I don’t know why it’s highlighting that as though everything but the first line is still a comment)</p>
<p>Clang agrees; when I use my versions I get the results you specified (e.g. <a href="https://godbolt.org/g/tPRcZX" rel="nofollow">here</a>); when I use the versions I copied I get compiler errors because it doesn’t know what `T` is.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jonathan Boccara		</title>
		<link>https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-488</link>

		<dc:creator><![CDATA[Jonathan Boccara]]></dc:creator>
		<pubDate>Tue, 15 Aug 2017 20:01:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=1834#comment-488</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-487&quot;&gt;Daniel Houck&lt;/a&gt;.

Hey Daniel, I&#039;m glad you liked the post. I&#039;m not sure I can see the template parameters improperly formatted, is this the line
&lt;pre&gt;&lt;code&gt;
template  void f(int* ); // #3
&lt;/code&gt;&lt;/pre&gt;
that you&#039;re talking about?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-487">Daniel Houck</a>.</p>
<p>Hey Daniel, I&#8217;m glad you liked the post. I&#8217;m not sure I can see the template parameters improperly formatted, is this the line</p>
<pre><code>
template  void f(int* ); // #3
</code></pre>
<p>that you&#8217;re talking about?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel Houck		</title>
		<link>https://www.fluentcpp.com/2017/08/15/function-templates-partial-specialization-cpp/#comment-487</link>

		<dc:creator><![CDATA[Daniel Houck]]></dc:creator>
		<pubDate>Tue, 15 Aug 2017 15:23:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=1834#comment-487</guid>

					<description><![CDATA[Thank you for writing this! By coincidence I was looking for this information shortly before you wrote the previous post in the series, so you have nice timing as well as good content.

The one issue I see is that I think your last two code snippets were improperly escaped; could you check those? Some template parameter lists look like they were eaten as unknown HTML tags.]]></description>
			<content:encoded><![CDATA[<p>Thank you for writing this! By coincidence I was looking for this information shortly before you wrote the previous post in the series, so you have nice timing as well as good content.</p>
<p>The one issue I see is that I think your last two code snippets were improperly escaped; could you check those? Some template parameter lists look like they were eaten as unknown HTML tags.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
