<?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[Falsche Argumente in Funktion]]></title><description><![CDATA[<p>Warum bekomme ich hier Fehlermeldungen?</p>
<pre><code>void SpriteNode::drawCurrent(const sf::RenderTarget&amp; renderTarget, sf::RenderStates&amp; states)
	{
		renderTarget.draw(mSprite, states);
	}
</code></pre>
<blockquote>
<p>38 IntelliSense: no instance of overloaded function &quot;sf::RenderTarget::draw&quot; matches the argument list and object (the object has type qualifiers that prevent a match)</p>
</blockquote>
<p>Die Dekleration vom RenderTarget sieht so aus :</p>
<pre><code>void draw(const Drawable&amp; drawable, const RenderStates&amp; states = RenderStates::Default);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/320390/falsche-argumente-in-funktion</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Jul 2026 04:50:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/320390.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Sep 2013 14:48:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Falsche Argumente in Funktion on Thu, 26 Sep 2013 14:48:38 GMT]]></title><description><![CDATA[<p>Warum bekomme ich hier Fehlermeldungen?</p>
<pre><code>void SpriteNode::drawCurrent(const sf::RenderTarget&amp; renderTarget, sf::RenderStates&amp; states)
	{
		renderTarget.draw(mSprite, states);
	}
</code></pre>
<blockquote>
<p>38 IntelliSense: no instance of overloaded function &quot;sf::RenderTarget::draw&quot; matches the argument list and object (the object has type qualifiers that prevent a match)</p>
</blockquote>
<p>Die Dekleration vom RenderTarget sieht so aus :</p>
<pre><code>void draw(const Drawable&amp; drawable, const RenderStates&amp; states = RenderStates::Default);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2355771</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2355771</guid><dc:creator><![CDATA[DuffCola]]></dc:creator><pubDate>Thu, 26 Sep 2013 14:48:38 GMT</pubDate></item><item><title><![CDATA[Reply to Falsche Argumente in Funktion on Thu, 26 Sep 2013 14:53:30 GMT]]></title><description><![CDATA[<p>Weil renderTarget const ist, draw aber nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2355772</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2355772</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Thu, 26 Sep 2013 14:53:30 GMT</pubDate></item><item><title><![CDATA[Reply to Falsche Argumente in Funktion on Thu, 26 Sep 2013 15:02:05 GMT]]></title><description><![CDATA[<p>Ein const-qualifiziertes Objekt kann nur const-Memberfunktionen aufrufen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2355776</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2355776</guid><dc:creator><![CDATA[out]]></dc:creator><pubDate>Thu, 26 Sep 2013 15:02:05 GMT</pubDate></item></channel></rss>