<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: STL Algorithms on Sets	</title>
	<atom:link href="https://www.fluentcpp.com/2017/12/29/stl-algorithms-sets/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fluentcpp.com/2017/12/29/stl-algorithms-sets/</link>
	<description>Jonathan Boccara&#039;s blog</description>
	<lastBuildDate>Sun, 21 Jan 2018 22:32:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.3</generator>
	<item>
		<title>
		By: Jonathan Boccara		</title>
		<link>https://www.fluentcpp.com/2017/12/29/stl-algorithms-sets/#comment-767</link>

		<dc:creator><![CDATA[Jonathan Boccara]]></dc:creator>
		<pubDate>Sun, 21 Jan 2018 22:32:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2830#comment-767</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2017/12/29/stl-algorithms-sets/#comment-755&quot;&gt;Joep Lijnen&lt;/a&gt;.

If I reformulate to make sure I get everything you said: the fact that sets are sorted is an implementation technique to ensure the uniqueness of their elements, which is their prominent feature coming from maths.
And the fact they are sorted also allows implementing mathematical operations on sets conveniently. Did I get this right?
Thanks for exposing this Joep, I never thought of it that way. But it makes a lot of sense.
And I&#039;m wondering then, do you think that a &quot;multiset&quot; an occimoron then?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2017/12/29/stl-algorithms-sets/#comment-755">Joep Lijnen</a>.</p>
<p>If I reformulate to make sure I get everything you said: the fact that sets are sorted is an implementation technique to ensure the uniqueness of their elements, which is their prominent feature coming from maths.<br />
And the fact they are sorted also allows implementing mathematical operations on sets conveniently. Did I get this right?<br />
Thanks for exposing this Joep, I never thought of it that way. But it makes a lot of sense.<br />
And I&#8217;m wondering then, do you think that a &#8220;multiset&#8221; an occimoron then?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Joep Lijnen		</title>
		<link>https://www.fluentcpp.com/2017/12/29/stl-algorithms-sets/#comment-755</link>

		<dc:creator><![CDATA[Joep Lijnen]]></dc:creator>
		<pubDate>Tue, 16 Jan 2018 10:35:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2830#comment-755</guid>

					<description><![CDATA[Please, please please please do not say that sets are ordered collections; this is an incorrect generalization of the definition of set. Not understanding this can lead to severe programming errors that only manifest at run-time.

The elements in a vector are ordered, they need not be unique.
The elements (indices) in a hash-map are unique, they are not ordered.

What happens when we have programmers that do not understand the difference between a set and an ordered list? - I would hate to clean up after such a mess.

&#062; In mathematics, a set is a collection of distinct objects, considered as an object in its own right. 
&#062;Moreover, the order in which the elements of a set are listed is irrelevant

Wikipedia](https://en.wikipedia.org/wiki/Set_(mathematics)]]></description>
			<content:encoded><![CDATA[<p>Please, please please please do not say that sets are ordered collections; this is an incorrect generalization of the definition of set. Not understanding this can lead to severe programming errors that only manifest at run-time.</p>
<p>The elements in a vector are ordered, they need not be unique.<br />
The elements (indices) in a hash-map are unique, they are not ordered.</p>
<p>What happens when we have programmers that do not understand the difference between a set and an ordered list? &#8211; I would hate to clean up after such a mess.</p>
<p>&gt; In mathematics, a set is a collection of distinct objects, considered as an object in its own right.<br />
&gt;Moreover, the order in which the elements of a set are listed is irrelevant</p>
<p>Wikipedia](<a href="https://en.wikipedia.org/wiki/Set_(mathematics)" rel="nofollow ugc">https://en.wikipedia.org/wiki/Set_(mathematics)</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
