<?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[Instanzen]]></title><description><![CDATA[<p>Was genau sind Instanzen?<br />
Könnte mir das mal jemand mit eigenen Worten kurz erklären.<br />
Danke, wäre lieb.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/252412/instanzen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 12:33:31 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/252412.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Oct 2009 13:59:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Instanzen on Mon, 19 Oct 2009 13:59:51 GMT]]></title><description><![CDATA[<p>Was genau sind Instanzen?<br />
Könnte mir das mal jemand mit eigenen Worten kurz erklären.<br />
Danke, wäre lieb.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1794843</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1794843</guid><dc:creator><![CDATA[Kikakauz]]></dc:creator><pubDate>Mon, 19 Oct 2009 13:59:51 GMT</pubDate></item><item><title><![CDATA[Reply to Instanzen on Mon, 19 Oct 2009 14:06:45 GMT]]></title><description><![CDATA[<p><a href="http://de.wikipedia.org/wiki/Instanz_%28Informatik%29:" rel="nofollow">http://de.wikipedia.org/wiki/Instanz_(Informatik):</a> Eine Instanz in der objektorientierten Programmierung ist ein Objekt einer Klasse.</p>
<p>Wenn du eine Klasse definierst, dann definierst du, wie ein Objekt dieser Klasse zu sein hat. Instanzen sind dann konkrete Objekte dieser Klasse.</p>
<p>Die Definition der Klasse Mensch ist z.B. auf <a href="http://de.wikipedia.org/wiki/Mensch" rel="nofollow">Wikipedia</a> nachzulesen. Du bist aber eine konkrete Instanz eines Menschen (hoffe ich doch).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1794852</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1794852</guid><dc:creator><![CDATA[Nanyuki]]></dc:creator><pubDate>Mon, 19 Oct 2009 14:06:45 GMT</pubDate></item><item><title><![CDATA[Reply to Instanzen on Mon, 19 Oct 2009 15:38:51 GMT]]></title><description><![CDATA[<p>Die Wikipediadefinition gefällt mir:</p>
<p>Instanz (Informatik) = Exemplar oder Ausprägung eines gegebenen Schemas</p>
<p>In C++ kann man von Instanzen reden, wenn man Objekte (Istanzen von Typen) und Spezialisierungen vom Templates meint.</p>
<pre><code class="language-cpp">template&lt;typename T&gt;
class foo { /*...*/ };

int main() {
  foo&lt;int&gt; bar;
}
</code></pre>
<p>Der Typ foo&lt;int&gt; ist eine &quot;Instanz&quot; (Spezialisierung) der Typfamilie foo&lt;&gt;.<br />
bar ist eine &quot;Instanz&quot; (Objekt) des Typs foo&lt;int&gt;.</p>
<p>Gruß,<br />
SP</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1794862</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1794862</guid><dc:creator><![CDATA[Sebastian Pizer]]></dc:creator><pubDate>Mon, 19 Oct 2009 15:38:51 GMT</pubDate></item></channel></rss>