<?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[map&amp;lt;class,int&amp;gt; ?]]></title><description><![CDATA[<p>hab ein problem mit einer<br />
std::map variable<br />
fehlermeldung:<br />
In member function `bool std::less&lt;_Tp&gt;::operator()(const _Tp&amp;, const _Tp&amp;) const [with _Tp = Bitmap]':</p>
<p>instantiated from `_Tp&amp; std::map&lt;_Key, _Tp, _Compare, _Alloc&gt;::operator[](const _Key&amp;) [with _Key = Bitmap, _Tp = int, _Compare = std::less&lt;Bitmap&gt;, _Alloc = std::allocator&lt;std::pair&lt;const Bitmap, int&gt; &gt;]'</p>
<p>//Bitmap = classe<br />
//aber bei der definetion sagt er nix<br />
std::map&lt;Bitmap,int&gt; count;<br />
Bitmap bitmap;</p>
<p>if (count[bitmap] == 0){ //hier kommt der fehler vor<br />
...<br />
.....<br />
..</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/199838/map-lt-class-int-gt</link><generator>RSS for Node</generator><lastBuildDate>Sat, 03 Oct 2026 19:18:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/199838.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Dec 2007 16:22:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to map&amp;lt;class,int&amp;gt; ? on Fri, 07 Dec 2007 16:22:57 GMT]]></title><description><![CDATA[<p>hab ein problem mit einer<br />
std::map variable<br />
fehlermeldung:<br />
In member function `bool std::less&lt;_Tp&gt;::operator()(const _Tp&amp;, const _Tp&amp;) const [with _Tp = Bitmap]':</p>
<p>instantiated from `_Tp&amp; std::map&lt;_Key, _Tp, _Compare, _Alloc&gt;::operator[](const _Key&amp;) [with _Key = Bitmap, _Tp = int, _Compare = std::less&lt;Bitmap&gt;, _Alloc = std::allocator&lt;std::pair&lt;const Bitmap, int&gt; &gt;]'</p>
<p>//Bitmap = classe<br />
//aber bei der definetion sagt er nix<br />
std::map&lt;Bitmap,int&gt; count;<br />
Bitmap bitmap;</p>
<p>if (count[bitmap] == 0){ //hier kommt der fehler vor<br />
...<br />
.....<br />
..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1416634</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1416634</guid><dc:creator><![CDATA[kiba91]]></dc:creator><pubDate>Fri, 07 Dec 2007 16:22:57 GMT</pubDate></item><item><title><![CDATA[Reply to map&amp;lt;class,int&amp;gt; ? on Fri, 07 Dec 2007 16:35:30 GMT]]></title><description><![CDATA[<p>Für die Klasse Bitmap muß der operator&lt; verfügbar sein, damit die Werte sortiert werden können.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1416642</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1416642</guid><dc:creator><![CDATA[*john 0]]></dc:creator><pubDate>Fri, 07 Dec 2007 16:35:30 GMT</pubDate></item><item><title><![CDATA[Reply to map&amp;lt;class,int&amp;gt; ? on Fri, 07 Dec 2007 17:02:12 GMT]]></title><description><![CDATA[<p>ok hab das problem gelöst</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1416656</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1416656</guid><dc:creator><![CDATA[kiba91]]></dc:creator><pubDate>Fri, 07 Dec 2007 17:02:12 GMT</pubDate></item></channel></rss>