<?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[Statische objekte in einer klasse]]></title><description><![CDATA[<p>ich habe eine klasse die ein statisches objekt haben soll(List&lt;...&gt;)</p>
<pre><code class="language-cpp">class A
{
public:
    static List&lt;...&gt; MyList
};
</code></pre>
<p>Und statische member muss man ja initialisieren, aber wie mache ich das jetzt bei einer List?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/265979/statische-objekte-in-einer-klasse</link><generator>RSS for Node</generator><lastBuildDate>Thu, 03 Sep 2026 16:41:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/265979.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 May 2010 09:09:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Statische objekte in einer klasse on Sun, 02 May 2010 09:09:30 GMT]]></title><description><![CDATA[<p>ich habe eine klasse die ein statisches objekt haben soll(List&lt;...&gt;)</p>
<pre><code class="language-cpp">class A
{
public:
    static List&lt;...&gt; MyList
};
</code></pre>
<p>Und statische member muss man ja initialisieren, aber wie mache ich das jetzt bei einer List?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1891208</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1891208</guid><dc:creator><![CDATA[++reinhard--]]></dc:creator><pubDate>Sun, 02 May 2010 09:09:30 GMT</pubDate></item><item><title><![CDATA[Reply to Statische objekte in einer klasse on Sun, 02 May 2010 09:10:58 GMT]]></title><description><![CDATA[<p>Deklaration in der Header Datei, Definition (mit Initialisierung) in der Source-Datei.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1891210</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1891210</guid><dc:creator><![CDATA[Janjan]]></dc:creator><pubDate>Sun, 02 May 2010 09:10:58 GMT</pubDate></item><item><title><![CDATA[Reply to Statische objekte in einer klasse on Sun, 02 May 2010 09:15:40 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">List&lt;...&gt; A::MyList;
</code></pre>
<p>für den Default-Konstruktor...</p>
<pre><code class="language-cpp">List&lt;...&gt; A::MyList(&quot;Test&quot;);
</code></pre>
<p>so mit Parameter</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1891211</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1891211</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sun, 02 May 2010 09:15:40 GMT</pubDate></item></channel></rss>