<?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[eine Hash (map) nach Werten sortieren]]></title><description><![CDATA[<p>Hey,</p>
<p>ist es möglich eine map &lt;String, int&gt; nach dem int zu sortieren, wenn das der Wert ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/308076/eine-hash-map-nach-werten-sortieren</link><generator>RSS for Node</generator><lastBuildDate>Thu, 06 Aug 2026 05:58:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/308076.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Sep 2012 18:59:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to eine Hash (map) nach Werten sortieren on Thu, 13 Sep 2012 18:59:02 GMT]]></title><description><![CDATA[<p>Hey,</p>
<p>ist es möglich eine map &lt;String, int&gt; nach dem int zu sortieren, wenn das der Wert ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2251084</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2251084</guid><dc:creator><![CDATA[resch]]></dc:creator><pubDate>Thu, 13 Sep 2012 18:59:02 GMT</pubDate></item><item><title><![CDATA[Reply to eine Hash (map) nach Werten sortieren on Thu, 13 Sep 2012 19:03:52 GMT]]></title><description><![CDATA[<p>1.) map&lt;string,int&gt; ist keine Hashmap.<br />
2.) Nein, nicht im gleichen Container.</p>
<p>Hinzu kommt, dass map&lt;Key,Data&gt; vom Key Einzigartigkeit abverlangt. Wenn also die fuer das int gegeben ist, dann sollte es kein Problem sein, den Inhalt nach map&lt;int,string&gt; zu konvertieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2251085</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2251085</guid><dc:creator><![CDATA[knivil]]></dc:creator><pubDate>Thu, 13 Sep 2012 19:03:52 GMT</pubDate></item><item><title><![CDATA[Reply to eine Hash (map) nach Werten sortieren on Thu, 13 Sep 2012 20:17:01 GMT]]></title><description><![CDATA[<p>@resch<br />
Du kannst eine Map gar nicht sortieren, in dem Sinn dass sie immer sortiert ist.<br />
Und immer nach dem Key, nie nach dem Wert.</p>
<p>Du kannst natürlich alle Werte oder auch alle Key-Wert Paare rauskopieren, z.B. in einen std::vector, und diesen dann beliebig sortieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2251122</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2251122</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Thu, 13 Sep 2012 20:17:01 GMT</pubDate></item></channel></rss>