<?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[structur und classe mit template?]]></title><description><![CDATA[<p>Hallo ich möchte einer variable in einer structur in einer classe den Datentyp über eine Template geben, wie mache ich das, ich habe leider nicht wirklich was gefunden was mir weiter hilft, hier ein beispiel:</p>
<pre><code class="language-cpp">class MeineClasse
{
  struct MeineStructur
  {
    xxx MeineVariable; //Hier an xxx soll der Datentyp über die Template eingesetzt werden.
  };
};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/220387/structur-und-classe-mit-template</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 02:28:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/220387.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 15 Aug 2008 11:51:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 11:52:50 GMT]]></title><description><![CDATA[<p>Hallo ich möchte einer variable in einer structur in einer classe den Datentyp über eine Template geben, wie mache ich das, ich habe leider nicht wirklich was gefunden was mir weiter hilft, hier ein beispiel:</p>
<pre><code class="language-cpp">class MeineClasse
{
  struct MeineStructur
  {
    xxx MeineVariable; //Hier an xxx soll der Datentyp über die Template eingesetzt werden.
  };
};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1565382</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565382</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 15 Aug 2008 11:52:50 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 11:59:03 GMT]]></title><description><![CDATA[<p>Zuerst musst Du entscheiden was denn das Template sein soll: die innere oder die äußere Klasse.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565388</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565388</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Fri, 15 Aug 2008 11:59:03 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 12:05:47 GMT]]></title><description><![CDATA[<p>Die innere, also ich möchte bei der Initialisierung die Template setzen:<br />
MeineKlasse&lt;int&gt; myClass;<br />
und &quot;int&quot; soll dann in der structur eingesetzt werden.</p>
<p>Ahja und in ein paar Methoden der Klasse möchte ich die Template auch nutzen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565390</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565390</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 15 Aug 2008 12:05:47 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 12:06:49 GMT]]></title><description><![CDATA[<p>Hast Du Dir die Grundlagen zu Templates schonmal angeschaut? Ist nämlich nicht anders als wenn die Variable in der äußeren Struktur wäre.</p>
<pre><code class="language-cpp">template&lt; class T &gt;
class MeineClasse
{
  struct MeineStructur
  {
    T MeineVariable;
  };
};
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565393</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565393</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Fri, 15 Aug 2008 12:06:49 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 12:35:10 GMT]]></title><description><![CDATA[<p>irgendwie verstehe ich das nicht..<br />
Das sieht jetzt so aus:<br />
main.cpp</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &quot;MyList.h&quot;

int main()
{
	MyList&lt;int&gt; list;

	list.Add(12);
	std::cout &lt;&lt; list.Get() &lt;&lt; std::endl;

	getchar();
	return 0;
}
</code></pre>
<p>MyList.cpp</p>
<pre><code class="language-cpp">#include &quot;MyList.h&quot;

template &lt;class T&gt;
MyList&lt;T&gt;::MyList()
{

}

template &lt;class T&gt;
MyList&lt;T&gt;::~MyList()
{

}

template &lt;class T&gt;
void MyList&lt;T&gt;::Add(T data)
{
	MyList::scruct.MeineVariable = data;
}

template&lt;class T&gt;
T MyList&lt;T&gt;::Get()
{
	return MyList::scruct.MeineVariable;
}
</code></pre>
<p>MyList.h</p>
<pre><code class="language-cpp">template&lt; class T &gt; 
class MyList
{
private:
  struct MeineStructur
  {
    T MeineVariable;
  }; 
	MeineStructur scruct;

public:
	MyList();
	~MyList();
	void Add(T data);
	T Get();
};
</code></pre>
<p>Wenn ich das nun Compiliere bekomme ich das:</p>
<pre><code>Fehler	1	error LNK2001: Nicht aufgelöstes externes Symbol &quot;&quot;public: __thiscall MyList&lt;int&gt;::~MyList&lt;int&gt;(void)&quot; (??1?$MyList@H@@QAE@XZ)&quot;.	main.obj	MeineListe
Fehler	2	error LNK2001: Nicht aufgelöstes externes Symbol &quot;&quot;public: int __thiscall MyList&lt;int&gt;::Get(void)&quot; (?Get@?$MyList@H@@QAEHXZ)&quot;.	main.obj	MeineListe
Fehler	3	error LNK2001: Nicht aufgelöstes externes Symbol &quot;&quot;public: void __thiscall MyList&lt;int&gt;::Add(int)&quot; (?Add@?$MyList@H@@QAEXH@Z)&quot;.	main.obj	MeineListe
Fehler	4	error LNK2001: Nicht aufgelöstes externes Symbol &quot;&quot;public: __thiscall MyList&lt;int&gt;::MyList&lt;int&gt;(void)&quot; (??0?$MyList@H@@QAE@XZ)&quot;.	main.obj	MeineListe
Fehler	5	fatal error LNK1120: 4 nicht aufgelöste externe Verweise.	D:\Dokumente\Visual Studio 2008\Projects\C++\MeineListe\Debug\MeineListe.exe	MeineListe
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1565413</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565413</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 15 Aug 2008 12:35:10 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 12:37:12 GMT]]></title><description><![CDATA[<p>Gaaaaaaaaanz anderes Problem:<br />
siehe <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39467-and-start-is-0-and-postdays-is-0-and-postorder-is-asc-and-highlight-is-.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39467-and-start-is-0-and-postdays-is-0-and-postorder-is-asc-and-highlight-is-.html</a> zweiter Post.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565418</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565418</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Fri, 15 Aug 2008 12:37:12 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 12:46:25 GMT]]></title><description><![CDATA[<p>hm oke, wenn ich alles in eine cpp Datei stecke dann geht es.</p>
<p>Aber sobald ich die Klasse unter die main() oder in eine andere cpp stecke läuft es nicht mehr...<br />
ach ich has.. C++</p>
<p>Also mit anderen Worten es geht nicht so wie ich das vor habe.. aber trotzdem danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565435</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565435</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 15 Aug 2008 12:46:25 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 12:48:30 GMT]]></title><description><![CDATA[<p>Das liegt einfach daran das die Templates zur Compile-Zeit aufgedröselt werden, also konkrete Klassen je nach Nutzung draus werden. Wenn du nun Teile in cpp-Dateien packst, findest du diese mit einem Include nicht. Und beim Linken, wo der Part der anderen Objektdateien zur Verfügung steht, ist es schon zu spät. Die konkreten Klassen und deren Funktionen müssen vorher bekannt sein.</p>
<p>Daher entweder alles in den Template-Header oder die .cpp Datei in .tmpl oder sowas umbennen und auch inkludieren. Letzteres ist wohl am ordentlichsten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565440</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565440</guid><dc:creator><![CDATA[Fellhuhn]]></dc:creator><pubDate>Fri, 15 Aug 2008 12:48:30 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 12:51:30 GMT]]></title><description><![CDATA[<p>lord_fritte schrieb:</p>
<blockquote>
<p>hm oke, wenn ich alles in eine cpp Datei stecke dann geht es.<br />
[...]<br />
Also mit anderen Worten es geht nicht so wie ich das vor habe.. aber trotzdem danke.</p>
</blockquote>
<p>Grmpf... Steht in dem FAQ-Beitrag nicht</p>
<p>HumeSikkins schrieb:</p>
<blockquote>
<p>wird dir nichts anderes übrigbleiben als die Definitionen in den <em><strong><strong>Header</strong></strong></em> zu schreiben.</p>
</blockquote>
<p>? :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565442</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565442</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Fri, 15 Aug 2008 12:51:30 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 12:59:41 GMT]]></title><description><![CDATA[<p>Aber wie sollen die Definitionen der Klasse aussehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565449</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565449</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 15 Aug 2008 12:59:41 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 13:02:24 GMT]]></title><description><![CDATA[<p>lord_fritte schrieb:</p>
<blockquote>
<p>Aber wie sollen die Definitionen der Klasse aussehen?</p>
</blockquote>
<p>Entweder alles aus MyList.cpp in MyList.h rein.<br />
Oder MyList.cpp in MyList.tmpl umbenennen und die ebenfalls in main.cpp inkludieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565455</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565455</guid><dc:creator><![CDATA[Fellhuhn]]></dc:creator><pubDate>Fri, 15 Aug 2008 13:02:24 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 13:15:06 GMT]]></title><description><![CDATA[<p>Ah es funktioniert, danke.<br />
Aber seit wann geht so was? Unter C konnte man doch nur die reine Definition in die h Datei schreiben.<br />
Aber kann es sein das so das IntelliSense nicht mehr funktioniert? ich bekomme keine Einzige Methode oder variable mehr aus der Klasse angezeigt..<br />
Visual Studio sagt mir nur: IntelliSense: 'Der Typ des Ausdrucks links von . Oder -&gt; ist keine Klasse, Structor oder Union'</p>
<p>ABer naja das IntelliSense von Visual C++ war ja auch noch nie wirklich gut.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565462</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565462</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 15 Aug 2008 13:15:06 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 13:20:05 GMT]]></title><description><![CDATA[<blockquote>
<p>ABer naja das IntelliSense von Visual C++ war ja auch noch nie wirklich gut.</p>
</blockquote>
<p>Dann schalt sie doch aus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565472</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565472</guid><dc:creator><![CDATA[simon.gysi]]></dc:creator><pubDate>Fri, 15 Aug 2008 13:20:05 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 13:29:32 GMT]]></title><description><![CDATA[<p>hmm dann hab ich garkeine mehr.. auch schei.. gibt es keine alternative die man installieren kann?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565479</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565479</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 15 Aug 2008 13:29:32 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 13:40:00 GMT]]></title><description><![CDATA[<p>lord_fritte schrieb:</p>
<blockquote>
<p>hmm dann hab ich garkeine mehr.. auch schei.. gibt es keine alternative die man installieren kann?</p>
</blockquote>
<p>Visual Assist X<br />
Bin sehr zufrieden damit, kostet allerdings etwas.</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565490</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565490</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Fri, 15 Aug 2008 13:40:00 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 14:11:48 GMT]]></title><description><![CDATA[<p>lord_fritte schrieb:</p>
<blockquote>
<p>Aber kann es sein das so das IntelliSense nicht mehr funktioniert?</p>
</blockquote>
<p>Sollte eigentlich nicht passieren, bzw. es liegt nicht am Template. Manchmal hat die IntelliSense-Datenbank ein Problem, da hilft entweder Neu-Erstellen der Projektmappe oder Löschen der Datenbankdatei (*.ncb).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565515</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565515</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Fri, 15 Aug 2008 14:11:48 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 14:22:26 GMT]]></title><description><![CDATA[<p>Dravere schrieb:</p>
<blockquote>
<p>lord_fritte schrieb:</p>
<blockquote>
<p>hmm dann hab ich garkeine mehr.. auch schei.. gibt es keine alternative die man installieren kann?</p>
</blockquote>
<p>Visual Assist X<br />
Bin sehr zufrieden damit, kostet allerdings etwas.</p>
<p>Grüssli</p>
</blockquote>
<p>Naja gibt es nicht was was wirklich nur das IntelliSense von C++ verändert und C# läßt wie es ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565525</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565525</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 15 Aug 2008 14:22:26 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 14:25:19 GMT]]></title><description><![CDATA[<p>Was gefällt dir denn am IntelliSense-System in C++ nicht? Klar, die Ausfälle ab und zu sind halt lästig, aber für mich ist IntelliSense wirklich eine sehr grosse Hilfe...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565526</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565526</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Fri, 15 Aug 2008 14:25:19 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 14:38:42 GMT]]></title><description><![CDATA[<p>Nexus schrieb:</p>
<blockquote>
<p>Was gefällt dir denn am IntelliSense-System in C++ nicht? Klar, die Ausfälle ab und zu sind halt lästig, aber für mich ist IntelliSense wirklich eine sehr grosse Hilfe...</p>
</blockquote>
<p>Bei mir fällt es andauert aus..<br />
Also ich kann mich nicht erinnern dass es bei jemals bei C++ funktioniert hat,<br />
unter C# ist das IntelliSense echt super.<br />
Aber unter C++ kannste es total vergessen.<br />
Und jetzt bekomme ich bei meiner Klasse auch nur noch die Meldung &quot;IntelliSense: 'Keine weiteren Informationen verfügbar.'&quot;. Egal ob ich innerhalb der Klasse Arbeite oder außerhalb.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565538</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565538</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 15 Aug 2008 14:38:42 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 14:41:31 GMT]]></title><description><![CDATA[<p>Nexus schrieb:</p>
<blockquote>
<p>Sollte eigentlich nicht passieren, bzw. es liegt nicht am Template. Manchmal hat die IntelliSense-Datenbank ein Problem, da hilft entweder Neu-Erstellen der Projektmappe oder Löschen der Datenbankdatei (*.ncb).</p>
</blockquote>
<p>Nicht zwagsweise, es gibt durchaus Konstrukte ohne Templates wo Intellisense aufgibt. Zum Beispiel scheint es nur den Header zu analysieren, beim Handle-Body Idiom (PIMPL) steigt es aber bereits in den einfachsten Fällen aus. Und es gibt noch weit mehr Situationen wenn man sich mit den etwas spezielleren C++ Konstrukten beschäftigt...</p>
<p>Wobei ich sagen muss nachdem ich inzwischen nun wieder mit den C++ Builder arbeite, sehne ich mit sogar das ganz klassische Intellisense und einfachste Refactoringwerkzeuge zurück. Das CodeInsign gibt bei mir relativ schnell den Geist auf (oder ist extremst langsam).</p>
<p>cu André</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565546</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565546</guid><dc:creator><![CDATA[asc]]></dc:creator><pubDate>Fri, 15 Aug 2008 14:41:31 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 14:43:47 GMT]]></title><description><![CDATA[<p>Aber ich frage mich, warum ist der C# Compier so gut Entwickelt und der C++ Compiler nicht?<br />
Hat Microsoft keine Lust mehr den C++ Compiler zu entwickeln/erweitern?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565551</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565551</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 15 Aug 2008 14:43:47 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 15 Aug 2008 15:42:26 GMT]]></title><description><![CDATA[<p>lord_fritte schrieb:</p>
<blockquote>
<p>Aber ich frage mich, warum ist der C# Compier so gut Entwickelt und der C++ Compiler nicht?<br />
Hat Microsoft keine Lust mehr den C++ Compiler zu entwickeln/erweitern?</p>
</blockquote>
<p>Das hat nichts mit dem Compiler zu tun.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565609</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565609</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Fri, 15 Aug 2008 15:42:26 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Sat, 16 Aug 2008 12:03:40 GMT]]></title><description><![CDATA[<p>lord_fritte schrieb:</p>
<blockquote>
<p>Aber ich frage mich, warum ist der C# Compier so gut Entwickelt und der C++ Compiler nicht?<br />
Hat Microsoft keine Lust mehr den C++ Compiler zu entwickeln/erweitern?</p>
</blockquote>
<p>Der Visual C++ - Compiler ist extrem gut entwickelt ;-).<br />
Das Problem liegt eig. allein bei IntelliSense und C++ Code auszuwerten ist in vielen Fällen ungleich schwerer als C# Code.<br />
Ich würde sagen, du solltest mal anfangen dich mit IDEs, Compilern etc. auseinandersetzen und dann kannst anfangen anfangen solche Behauptungen aufzustellen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1565924</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1565924</guid><dc:creator><![CDATA[Checker*amp*Murckser]]></dc:creator><pubDate>Sat, 16 Aug 2008 12:03:40 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Mon, 25 Aug 2008 15:18:55 GMT]]></title><description><![CDATA[<p>LordJaxom schrieb:</p>
<blockquote>
<p>HumeSikkins schrieb:</p>
<blockquote>
<p>wird dir nichts anderes übrigbleiben als die Definitionen in den <em><strong><strong>Header</strong></strong></em> zu schreiben.</p>
</blockquote>
<p>? :p</p>
</blockquote>
<p>Aber wie sollen die Definitionen so einer Klasse aussehen? ich habe alles mögliche versucht, es gibt nur errors.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1571178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1571178</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Mon, 25 Aug 2008 15:18:55 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Mon, 25 Aug 2008 15:22:49 GMT]]></title><description><![CDATA[<p>lord_fritte schrieb:</p>
<blockquote>
<p>LordJaxom schrieb:</p>
<blockquote>
<p>HumeSikkins schrieb:</p>
<blockquote>
<p>wird dir nichts anderes übrigbleiben als die Definitionen in den <em><strong><strong>Header</strong></strong></em> zu schreiben.</p>
</blockquote>
<p>? :p</p>
</blockquote>
<p>Aber wie sollen die Definitionen so einer Klasse aussehen? ich habe alles mögliche versucht, es gibt nur errors.</p>
</blockquote>
<p>Soll das'n Witz sein? Wurde doch bereits beantwortet und Du sagtest, dass es ginge.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1571183</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1571183</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Mon, 25 Aug 2008 15:22:49 GMT</pubDate></item><item><title><![CDATA[Reply to structur und classe mit template? on Fri, 29 Aug 2008 15:26:20 GMT]]></title><description><![CDATA[<p>Konrad Rudolph schrieb:</p>
<blockquote>
<p>lord_fritte schrieb:</p>
<blockquote>
<p>LordJaxom schrieb:</p>
<blockquote>
<p>HumeSikkins schrieb:</p>
<blockquote>
<p>wird dir nichts anderes übrigbleiben als die Definitionen in den <em><strong><strong>Header</strong></strong></em> zu schreiben.</p>
</blockquote>
<p>? :p</p>
</blockquote>
<p>Aber wie sollen die Definitionen so einer Klasse aussehen? ich habe alles mögliche versucht, es gibt nur errors.</p>
</blockquote>
<p>Soll das'n Witz sein? Wurde doch bereits beantwortet und Du sagtest, dass es ginge.</p>
</blockquote>
<p>Ja aber ich habe nicht wirklich eine Header-Definition, sondern ich habe die Klasse komplett in die Header-Datei gepackt, das ist doch eigentlich nicht sehr elegant, wie sähe denn eine Klasse Definition mit Template aus wenn ich Klasse in cpp und Definition in eine Header Datei packen möchte?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1573715</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1573715</guid><dc:creator><![CDATA[lord_fritte]]></dc:creator><pubDate>Fri, 29 Aug 2008 15:26:20 GMT</pubDate></item></channel></rss>