<?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: Make Your Containers Follow the Conventions of the STL	</title>
	<atom:link href="https://www.fluentcpp.com/2018/04/24/following-conventions-stl/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fluentcpp.com/2018/04/24/following-conventions-stl/</link>
	<description>Jonathan Boccara&#039;s blog</description>
	<lastBuildDate>Wed, 05 Sep 2018 02:30: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: Tien Do		</title>
		<link>https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-1271</link>

		<dc:creator><![CDATA[Tien Do]]></dc:creator>
		<pubDate>Wed, 05 Sep 2018 02:30:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2339#comment-1271</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-943&quot;&gt;Simon Brand&lt;/a&gt;.

But one of the points here is our containers should have size(), even not count() or length()]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-943">Simon Brand</a>.</p>
<p>But one of the points here is our containers should have size(), even not count() or length()</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tien Do		</title>
		<link>https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-1270</link>

		<dc:creator><![CDATA[Tien Do]]></dc:creator>
		<pubDate>Wed, 05 Sep 2018 02:20:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2339#comment-1270</guid>

					<description><![CDATA[I haven&#039;t created a generic container class myself but I learned more about STL from this article. Thanks.]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t created a generic container class myself but I learned more about STL from this article. Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Simon Brand		</title>
		<link>https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-943</link>

		<dc:creator><![CDATA[Simon Brand]]></dc:creator>
		<pubDate>Wed, 25 Apr 2018 08:21:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2339#comment-943</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-942&quot;&gt;Jonathan Boccara&lt;/a&gt;.

I think
```
using std::size;
if (size(range1) != size(range2))
```
would be better. That will work with containers which have size as a member function, standard library containers with non-member size, and other library containers which have non-member size declared in their namespace.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-942">Jonathan Boccara</a>.</p>
<p>I think<br />
&#8220;`<br />
using std::size;<br />
if (size(range1) != size(range2))<br />
&#8220;`<br />
would be better. That will work with containers which have size as a member function, standard library containers with non-member size, and other library containers which have non-member size declared in their namespace.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jonathan Boccara		</title>
		<link>https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-942</link>

		<dc:creator><![CDATA[Jonathan Boccara]]></dc:creator>
		<pubDate>Wed, 25 Apr 2018 05:52:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2339#comment-942</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-938&quot;&gt;Malcolm Parsons&lt;/a&gt;.

Thanks Malcom, I&#039;ve worked your remark into the article.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-938">Malcolm Parsons</a>.</p>
<p>Thanks Malcom, I&#8217;ve worked your remark into the article.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jonathan Boccara		</title>
		<link>https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-941</link>

		<dc:creator><![CDATA[Jonathan Boccara]]></dc:creator>
		<pubDate>Wed, 25 Apr 2018 05:49:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2339#comment-941</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-939&quot;&gt;Miguel Raggi&lt;/a&gt;.

Thanks for your suggestion Miguel, I&#039;ve added to the article the code snippet that you&#039;re proposing.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-939">Miguel Raggi</a>.</p>
<p>Thanks for your suggestion Miguel, I&#8217;ve added to the article the code snippet that you&#8217;re proposing.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Miguel Raggi		</title>
		<link>https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-939</link>

		<dc:creator><![CDATA[Miguel Raggi]]></dc:creator>
		<pubDate>Wed, 25 Apr 2018 00:22:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2339#comment-939</guid>

					<description><![CDATA[Fantastic article! I would also suggest adding the proper &quot;using&quot; typedef&#039;s:

class MyContainer
{
public:
using value_type = blah;
using iterator = blah;
...
}
and so on, depending on the type of container.]]></description>
			<content:encoded><![CDATA[<p>Fantastic article! I would also suggest adding the proper &#8220;using&#8221; typedef&#8217;s:</p>
<p>class MyContainer<br />
{<br />
public:<br />
using value_type = blah;<br />
using iterator = blah;<br />
&#8230;<br />
}<br />
and so on, depending on the type of container.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Malcolm Parsons		</title>
		<link>https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-938</link>

		<dc:creator><![CDATA[Malcolm Parsons]]></dc:creator>
		<pubDate>Tue, 24 Apr 2018 14:23:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2339#comment-938</guid>

					<description><![CDATA[&lt;pre&gt;&lt;code&gt;if (range1.size() != range2.size()) return false;&lt;code&gt;&lt;/pre&gt;This should use std::size()]]></description>
			<content:encoded><![CDATA[<pre><code>if (range1.size() != range2.size()) return false;</code><code></code></pre>
<p>This should use std::size()</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Liquidify		</title>
		<link>https://www.fluentcpp.com/2018/04/24/following-conventions-stl/#comment-937</link>

		<dc:creator><![CDATA[Liquidify]]></dc:creator>
		<pubDate>Tue, 24 Apr 2018 08:07:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=2339#comment-937</guid>

					<description><![CDATA[It would be really helpful if there were readable implementations of all the stl containers, and for that matter for all the other stl things too.  They don&#039;t even have to be &quot;good&quot; versions.  Just working versions that handle basic types and look more like pseudo code than the standardeese that exists.  It is a lot easier to write code in a style or following a convention when there are simple human readable examples.]]></description>
			<content:encoded><![CDATA[<p>It would be really helpful if there were readable implementations of all the stl containers, and for that matter for all the other stl things too.  They don&#8217;t even have to be &#8220;good&#8221; versions.  Just working versions that handle basic types and look more like pseudo code than the standardeese that exists.  It is a lot easier to write code in a style or following a convention when there are simple human readable examples.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
