<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 25: Make CMakeLists.txt to use C++11 as default</title><link>https://sourceforge.net/p/cppcms/feature-requests/25/</link><description>Recent changes to 25: Make CMakeLists.txt to use C++11 as default</description><atom:link href="https://sourceforge.net/p/cppcms/feature-requests/25/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 25 Apr 2015 15:07:47 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cppcms/feature-requests/25/feed.rss" rel="self" type="application/rss+xml"/><item><title>#25 Make CMakeLists.txt to use C++11 as default</title><link>https://sourceforge.net/p/cppcms/feature-requests/25/?limit=25#c058</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;My request seems to be an invalid one. Please close it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CN Liou</dc:creator><pubDate>Sat, 25 Apr 2015 15:07:47 -0000</pubDate><guid>https://sourceforge.net58de879620c7e1ce9a5149334cd8dc277e8e35b0</guid></item><item><title>Make CMakeLists.txt to use C++11 as default</title><link>https://sourceforge.net/p/cppcms/feature-requests/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Modify CMakeLists.txt so that CppCMS will try to be compiled in C++11 mode.&lt;/p&gt;
&lt;p&gt;Quoted from&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.cplusplus.com/reference/map/multimap/insert/" rel="nofollow"&gt;http://www.cplusplus.com/reference/map/multimap/insert/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;"The relative ordering of elements with equivalent keys is preserved, and newly inserted elements follow those with equivalent keys already in the container."&lt;/p&gt;
&lt;p&gt;As such, with C++11 enabled, we will be able to iterate the elements in cppcms::http::request::form_type in correct order given the same key. This is extremely helpful for HTML form input controls that have the same name like this:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;form&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;names&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;text&amp;quot;&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;ages&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;text&amp;quot;&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;names&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;text&amp;quot;&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;ages&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;text&amp;quot;&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;names&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;text&amp;quot;&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;ages&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;text&amp;quot;&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;submit&amp;quot;&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;As long as the ordering of cppcms::application::request::post() is guaranteed, ages&lt;span&gt;[i]&lt;/span&gt; is guaranteed to be correctly associated with names&lt;span&gt;[i]&lt;/span&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CN Liou</dc:creator><pubDate>Sat, 18 Jan 2014 11:43:45 -0000</pubDate><guid>https://sourceforge.net66333fa111c298e61255d3b0f2b1f49ff077cc53</guid></item></channel></rss>