<?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[[Erledigt] Template Klasse-Problem mit Iteratoren]]></title><description><![CDATA[<p>Hi Leute!<br />
Ich habe folgenden Code (aus einem Header):</p>
<pre><code class="language-cpp">//Ist jetztg nicht mehr so wichtig
</code></pre>
<p>Lasst euch von den kommentierten privates und publics nicht irritieren, bin noch im Debug.</p>
<p>So nun zum eigentlichen Problem:<br />
Den Code kann ich mit dem BCC55 problemlos kompilieren.<br />
Aber für mein größeres Projekt benutz ich VC++, aber der nimmt das nicht an.<br />
Hier das ErrorLog:</p>
<pre><code>1&gt;------ Erstellen gestartet: Projekt: GTMath, Konfiguration: Debug Win32 ------
1&gt;Kompilieren...
1&gt;GTMathDll.cpp
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(70) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;        d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(76): Siehe Verweis auf die Instanziierung der gerade kompilierten Klassen-template &quot;GT::Math::InterpolatorLinear&lt;T&gt;&quot;.
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(70) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(71) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(71) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(107) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(107) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(122) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(122) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;GTMatrix.cpp
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(70) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;        d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(76): Siehe Verweis auf die Instanziierung der gerade kompilierten Klassen-template &quot;GT::Math::InterpolatorLinear&lt;T&gt;&quot;.
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(70) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(71) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(71) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(107) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(107) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(122) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(122) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;Code wird generiert...
1&gt;Das Buildprotokoll wurde unter &quot;file://d:\GlowingThunder-Engine\VisualC++ Project\GlowingThunder-Engine\GTMath\Debug\BuildLog.htm&quot; gespeichert.
1&gt;GTMath - 8 Fehler, 8 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 1 aktuell, 0 übersprungen ==========
</code></pre>
<p>Ich verstehe den Fehler nicht.<br />
Ich bin am Verzweifeln!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/227934/erledigt-template-klasse-problem-mit-iteratoren</link><generator>RSS for Node</generator><lastBuildDate>Tue, 29 Sep 2026 18:42:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/227934.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Nov 2008 17:31:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Erledigt] Template Klasse-Problem mit Iteratoren on Fri, 21 Nov 2008 17:44:13 GMT]]></title><description><![CDATA[<p>Hi Leute!<br />
Ich habe folgenden Code (aus einem Header):</p>
<pre><code class="language-cpp">//Ist jetztg nicht mehr so wichtig
</code></pre>
<p>Lasst euch von den kommentierten privates und publics nicht irritieren, bin noch im Debug.</p>
<p>So nun zum eigentlichen Problem:<br />
Den Code kann ich mit dem BCC55 problemlos kompilieren.<br />
Aber für mein größeres Projekt benutz ich VC++, aber der nimmt das nicht an.<br />
Hier das ErrorLog:</p>
<pre><code>1&gt;------ Erstellen gestartet: Projekt: GTMath, Konfiguration: Debug Win32 ------
1&gt;Kompilieren...
1&gt;GTMathDll.cpp
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(70) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;        d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(76): Siehe Verweis auf die Instanziierung der gerade kompilierten Klassen-template &quot;GT::Math::InterpolatorLinear&lt;T&gt;&quot;.
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(70) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(71) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(71) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(107) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(107) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(122) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(122) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;GTMatrix.cpp
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(70) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;        d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(76): Siehe Verweis auf die Instanziierung der gerade kompilierten Klassen-template &quot;GT::Math::InterpolatorLinear&lt;T&gt;&quot;.
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(70) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(71) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(71) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(107) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(107) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(122) : warning C4346: 'std::list&lt;GT::Math::InterpolatorLinear&lt;T&gt;::KeyFrame&gt;::iterator': Abhängiger Name ist kein Typ
1&gt;        Präfix mit 'typename' zum Angeben eines Typs
1&gt;d:\glowingthunder-engine\visualc++ project\glowingthunder-engine\inc\math\gtinterpolation.h(122) : error C2061: Syntaxfehler: Bezeichner 'iterator'
1&gt;Code wird generiert...
1&gt;Das Buildprotokoll wurde unter &quot;file://d:\GlowingThunder-Engine\VisualC++ Project\GlowingThunder-Engine\GTMath\Debug\BuildLog.htm&quot; gespeichert.
1&gt;GTMath - 8 Fehler, 8 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 1 aktuell, 0 übersprungen ==========
</code></pre>
<p>Ich verstehe den Fehler nicht.<br />
Ich bin am Verzweifeln!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1618489</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1618489</guid><dc:creator><![CDATA[Blaze]]></dc:creator><pubDate>Fri, 21 Nov 2008 17:44:13 GMT</pubDate></item><item><title><![CDATA[Reply to [Erledigt] Template Klasse-Problem mit Iteratoren on Fri, 21 Nov 2008 17:43:39 GMT]]></title><description><![CDATA[<p>Habs gelöst!<br />
Hab typename vergessen, als ich einen Iterator zurückgeben musste.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1618499</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1618499</guid><dc:creator><![CDATA[Blaze]]></dc:creator><pubDate>Fri, 21 Nov 2008 17:43:39 GMT</pubDate></item></channel></rss>