<?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[static methode]]></title><description><![CDATA[<p>Was ist den genau der Unterschied zwischen einer static Methode die privat ist, und einer static Methode die public ist?</p>
<p>MfG<br />
Stromberg</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/221692/static-methode</link><generator>RSS for Node</generator><lastBuildDate>Mon, 05 Oct 2026 19:42:59 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/221692.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Sep 2008 00:59:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to static methode on Tue, 02 Sep 2008 00:59:55 GMT]]></title><description><![CDATA[<p>Was ist den genau der Unterschied zwischen einer static Methode die privat ist, und einer static Methode die public ist?</p>
<p>MfG<br />
Stromberg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1575092</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1575092</guid><dc:creator><![CDATA[Stromberg]]></dc:creator><pubDate>Tue, 02 Sep 2008 00:59:55 GMT</pubDate></item><item><title><![CDATA[Reply to static methode on Tue, 02 Sep 2008 01:00:57 GMT]]></title><description><![CDATA[<p>Der selbe Unterschied wie zwischen einer nicht static Methode die private ist und einer nicht static Methode die public ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1575094</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1575094</guid><dc:creator><![CDATA[Shade Of Mine]]></dc:creator><pubDate>Tue, 02 Sep 2008 01:00:57 GMT</pubDate></item><item><title><![CDATA[Reply to static methode on Tue, 02 Sep 2008 12:27:01 GMT]]></title><description><![CDATA[<p>Achso, weil der Witz an static is ja dass ich es von außerhalb wie eine normale Funktion aufrufen kann. Also wenn ich die static Methode von außerhalb aufrufe is es wurscht ob privat/public, nur innerhalb der Klasse spielt es eine Rolle?</p>
<p>MfG<br />
Stromberg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1575290</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1575290</guid><dc:creator><![CDATA[Stromberg]]></dc:creator><pubDate>Tue, 02 Sep 2008 12:27:01 GMT</pubDate></item><item><title><![CDATA[Reply to static methode on Tue, 02 Sep 2008 12:41:55 GMT]]></title><description><![CDATA[<p>Stromberg schrieb:</p>
<blockquote>
<p>Achso, weil der Witz an static is ja dass ich es von außerhalb wie eine normale Funktion aufrufen kann. Also wenn ich die static Methode von außerhalb aufrufe is es wurscht ob privat/public, nur innerhalb der Klasse spielt es eine Rolle?</p>
</blockquote>
<p>Aeh... Nein.</p>
<p>static heisst lediglich, dass diese Funktion nicht an ein Objekt gebunden ist. Das ist alles. static sagt nur: die Methode hat keinen this Zeiger, nicht mehr und nicht weniger.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1575293</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1575293</guid><dc:creator><![CDATA[Shade Of Mine]]></dc:creator><pubDate>Tue, 02 Sep 2008 12:41:55 GMT</pubDate></item><item><title><![CDATA[Reply to static methode on Tue, 02 Sep 2008 12:47:16 GMT]]></title><description><![CDATA[<p>wenn du nun eine static private methode hast kansnt du jedoch aussen nicht drauf zugreifen...</p>
<p>da sollte amn sich überlegen ob das sinnvoll ist...<br />
oder man greift von einer public static mthode auf eine private static methode zu</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1575298</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1575298</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Tue, 02 Sep 2008 12:47:16 GMT</pubDate></item><item><title><![CDATA[Reply to static methode on Tue, 02 Sep 2008 13:04:35 GMT]]></title><description><![CDATA[<p>Skym0sh0 schrieb:</p>
<blockquote>
<p>wenn du nun eine static private methode hast kansnt du jedoch aussen nicht drauf zugreifen...</p>
<p>da sollte amn sich überlegen ob das sinnvoll ist...</p>
</blockquote>
<p>Kann durchaus sinnvoll sein, wenn die statische Methoden eben auf statische Member zugreift, die nur innerhalb der Klasse von Bedeutung sind.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1575315</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1575315</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Tue, 02 Sep 2008 13:04:35 GMT</pubDate></item><item><title><![CDATA[Reply to static methode on Tue, 02 Sep 2008 20:13:24 GMT]]></title><description><![CDATA[<p>Nexus schrieb:</p>
<blockquote>
<p>Skym0sh0 schrieb:</p>
<blockquote>
<p>wenn du nun eine static private methode hast kansnt du jedoch aussen nicht drauf zugreifen...</p>
<p>da sollte amn sich überlegen ob das sinnvoll ist...</p>
</blockquote>
<p>Kann durchaus sinnvoll sein, wenn die statische Methoden eben auf statische Member zugreift, die nur innerhalb der Klasse von Bedeutung sind.</p>
</blockquote>
<p>Stichworte: Counter, Singleton usw.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1575569</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1575569</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Tue, 02 Sep 2008 20:13:24 GMT</pubDate></item><item><title><![CDATA[Reply to static methode on Wed, 03 Sep 2008 11:51:46 GMT]]></title><description><![CDATA[<p>ja ok <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>naja hab noch nicht viel objektorientiert geschrieben...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1575834</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1575834</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Wed, 03 Sep 2008 11:51:46 GMT</pubDate></item></channel></rss>