<?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[Binderfür konstante Memberfunktion mit zwei Argumenten?]]></title><description><![CDATA[<p>Hey,</p>
<p>wie heißt der Binder für eine konstante Memberfunktion mit zwei Argumenten, mit dem ich dann z.B. eine solche Funktion in ein Sort einbauen könnte?</p>
<pre><code class="language-cpp">bool MyClass::IngameObjectSortCmp(const CInGameObject&amp; A,const CInGameObject&amp; B ) const
{
// ...
}

int MyCalls::Move()
{
// ...
m_Weapons.sort(EinTollerBinder(IngameObjectSortCmp));
// ...
return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/117491/binderfür-konstante-memberfunktion-mit-zwei-argumenten</link><generator>RSS for Node</generator><lastBuildDate>Thu, 20 Aug 2026 23:53:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/117491.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Aug 2005 10:21:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Binderfür konstante Memberfunktion mit zwei Argumenten? on Mon, 08 Aug 2005 10:21:14 GMT]]></title><description><![CDATA[<p>Hey,</p>
<p>wie heißt der Binder für eine konstante Memberfunktion mit zwei Argumenten, mit dem ich dann z.B. eine solche Funktion in ein Sort einbauen könnte?</p>
<pre><code class="language-cpp">bool MyClass::IngameObjectSortCmp(const CInGameObject&amp; A,const CInGameObject&amp; B ) const
{
// ...
}

int MyCalls::Move()
{
// ...
m_Weapons.sort(EinTollerBinder(IngameObjectSortCmp));
// ...
return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/847869</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/847869</guid><dc:creator><![CDATA[Bilbo-Hobbit]]></dc:creator><pubDate>Mon, 08 Aug 2005 10:21:14 GMT</pubDate></item><item><title><![CDATA[Reply to Binderfür konstante Memberfunktion mit zwei Argumenten? on Mon, 08 Aug 2005 12:39:56 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">mem_fun&lt;bool, MyClass&gt; ( &amp;MyClass::IngameObjectSortCmp )
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/847933</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/847933</guid><dc:creator><![CDATA[Th]]></dc:creator><pubDate>Mon, 08 Aug 2005 12:39:56 GMT</pubDate></item></channel></rss>