<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[template] spezialisierung mit erneuter &amp;quot;template&amp;quot;-klasse]]></title><description><![CDATA[<pre><code class="language-cpp">template&lt;typename T&gt;
class A{
...
T data;
};

//spezialisierung A
template&lt; &gt;
class A{
...
double data;
};
</code></pre>
<p>jetzt möchte ich eine spezialsierung von A mit einer templateklasse durchführen:</p>
<pre><code class="language-cpp">//spezialisierung A
template&lt; typename vector&lt; B &gt; &gt;
class A{
...
vector&lt;B&gt; data;
};
</code></pre>
<p>wie lautet hier die richtige syntax?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/199802/template-spezialisierung-mit-erneuter-quot-template-quot-klasse</link><generator>RSS for Node</generator><lastBuildDate>Sat, 03 Oct 2026 19:18:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/199802.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Dec 2007 10:48:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [template] spezialisierung mit erneuter &amp;quot;template&amp;quot;-klasse on Fri, 07 Dec 2007 10:50:34 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">template&lt;typename T&gt;
class A{
...
T data;
};

//spezialisierung A
template&lt; &gt;
class A{
...
double data;
};
</code></pre>
<p>jetzt möchte ich eine spezialsierung von A mit einer templateklasse durchführen:</p>
<pre><code class="language-cpp">//spezialisierung A
template&lt; typename vector&lt; B &gt; &gt;
class A{
...
vector&lt;B&gt; data;
};
</code></pre>
<p>wie lautet hier die richtige syntax?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1416398</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1416398</guid><dc:creator><![CDATA[muffmolch]]></dc:creator><pubDate>Fri, 07 Dec 2007 10:50:34 GMT</pubDate></item><item><title><![CDATA[Reply to [template] spezialisierung mit erneuter &amp;quot;template&amp;quot;-klasse on Fri, 07 Dec 2007 10:54:44 GMT]]></title><description><![CDATA[<p>IMHO:</p>
<pre><code class="language-cpp">template&lt;typename T&gt;
class A&lt;vector&lt;T&gt; &gt;
{
vector&lt;T&gt; data;
};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1416401</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1416401</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Fri, 07 Dec 2007 10:54:44 GMT</pubDate></item></channel></rss>