<?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[SOLVED signatur von function pointer]]></title><description><![CDATA[<p>hallo.</p>
<p>habe ein kleines problem:</p>
<pre><code class="language-cpp">../..cpp(314) : error C2664: 'qScriptRegisterMetaType' : cannot convert parameter 2 from 'QScriptValue (QScriptEngine *,const QCModelMesh *&amp; )' to 'QScriptValue (__cdecl *)(QScriptEngine *,const T &amp; )'
        with
        [
            T=QCModelMesh *
        ]
        None of the functions with this name in scope match the target type
</code></pre>
<p>ich übergebe eine funktionspointer mit folgender signatur:</p>
<pre><code class="language-cpp">QScriptValue (QScriptEngine *,const QCModelMesh *&amp; )
</code></pre>
<p>wieso passt der nicht auf die geforderte:</p>
<pre><code class="language-cpp">QScriptValue (__cdecl *)(QScriptEngine *,const T &amp; )'
        with
        [
            T=QCModelMesh *
        ]
</code></pre>
<p>was mache ich da falsch?<br />
danke schonmal!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/208335/solved-signatur-von-function-pointer</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 18:29:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/208335.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Mar 2008 15:09:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SOLVED signatur von function pointer on Mon, 17 Mar 2008 15:26:18 GMT]]></title><description><![CDATA[<p>hallo.</p>
<p>habe ein kleines problem:</p>
<pre><code class="language-cpp">../..cpp(314) : error C2664: 'qScriptRegisterMetaType' : cannot convert parameter 2 from 'QScriptValue (QScriptEngine *,const QCModelMesh *&amp; )' to 'QScriptValue (__cdecl *)(QScriptEngine *,const T &amp; )'
        with
        [
            T=QCModelMesh *
        ]
        None of the functions with this name in scope match the target type
</code></pre>
<p>ich übergebe eine funktionspointer mit folgender signatur:</p>
<pre><code class="language-cpp">QScriptValue (QScriptEngine *,const QCModelMesh *&amp; )
</code></pre>
<p>wieso passt der nicht auf die geforderte:</p>
<pre><code class="language-cpp">QScriptValue (__cdecl *)(QScriptEngine *,const T &amp; )'
        with
        [
            T=QCModelMesh *
        ]
</code></pre>
<p>was mache ich da falsch?<br />
danke schonmal!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1475939</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1475939</guid><dc:creator><![CDATA[Janoschka]]></dc:creator><pubDate>Mon, 17 Mar 2008 15:26:18 GMT</pubDate></item><item><title><![CDATA[Reply to SOLVED signatur von function pointer on Mon, 17 Mar 2008 15:15:55 GMT]]></title><description><![CDATA[<p>Weil die Call Convention nicht passt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1475944</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1475944</guid><dc:creator><![CDATA[darthdespotism]]></dc:creator><pubDate>Mon, 17 Mar 2008 15:15:55 GMT</pubDate></item><item><title><![CDATA[Reply to SOLVED signatur von function pointer on Mon, 17 Mar 2008 15:17:42 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">QScriptValue (QScriptEngine *,const QCModelMesh *&amp; )
</code></pre>
<p>--&gt;</p>
<pre><code class="language-cpp">QScriptValue (QScriptEngine *, QCModelMesh* const&amp; )
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1475945</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1475945</guid><dc:creator><![CDATA[camper]]></dc:creator><pubDate>Mon, 17 Mar 2008 15:17:42 GMT</pubDate></item><item><title><![CDATA[Reply to SOLVED signatur von function pointer on Mon, 17 Mar 2008 15:21:24 GMT]]></title><description><![CDATA[<p>danke, hab den fehler schon gefunden.</p>
<p>so bauts.</p>
<pre><code class="language-cpp">QScriptValue (QScriptEngine *, QCModelMesh * const &amp; );
</code></pre>
<p>mal schaun obs auch tut was es will.<br />
irgendwie abr trotzdem seltsam, da</p>
<pre><code class="language-cpp">QScriptValue (__cdecl *)(QScriptEngine *,const T &amp; )'
        with
        [
            T=QCModelMesh *
        ]
</code></pre>
<p>ja schon irgendwie nach ... const QCModelMesh * &amp; aussieht und nicht nach QCModelMesh * const &amp;.</p>
<p>mal schaun obs auch tut was ich will <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";-)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1475947</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1475947</guid><dc:creator><![CDATA[Janoschka]]></dc:creator><pubDate>Mon, 17 Mar 2008 15:21:24 GMT</pubDate></item><item><title><![CDATA[Reply to SOLVED signatur von function pointer on Mon, 17 Mar 2008 15:22:59 GMT]]></title><description><![CDATA[<p>danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";-)"
      alt="😉"
    /></p>
<p>camper schrieb:</p>
<blockquote>
<pre><code class="language-cpp">QScriptValue (QScriptEngine *,const QCModelMesh *&amp; )
</code></pre>
<p>--&gt;</p>
<pre><code class="language-cpp">QScriptValue (QScriptEngine *, QCModelMesh* const&amp; )
</code></pre>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1475949</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1475949</guid><dc:creator><![CDATA[Janoschka]]></dc:creator><pubDate>Mon, 17 Mar 2008 15:22:59 GMT</pubDate></item></channel></rss>