<?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: Good news: strong types are (mostly) free in C++	</title>
	<atom:link href="https://www.fluentcpp.com/2017/05/05/news-strong-types-are-free/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fluentcpp.com/2017/05/05/news-strong-types-are-free/</link>
	<description>Jonathan Boccara&#039;s blog</description>
	<lastBuildDate>Tue, 08 Aug 2017 20:09:51 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.4</generator>
	<item>
		<title>
		By: Sergey Eliseev		</title>
		<link>https://www.fluentcpp.com/2017/05/05/news-strong-types-are-free/#comment-269</link>

		<dc:creator><![CDATA[Sergey Eliseev]]></dc:creator>
		<pubDate>Fri, 12 May 2017 13:42:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=684#comment-269</guid>

					<description><![CDATA[I think the NamedType constructor shall be
&lt;pre&gt;
template
explicit NamedType( Args&#038;&#038;... a ) : value_( std::forward(a)... ) {}
&lt;/pre&gt;

p.s. the comments engine seem to dislike C++ templates :)]]></description>
			<content:encoded><![CDATA[<p>I think the NamedType constructor shall be</p>
<pre>
template
explicit NamedType( Args&amp;&amp;... a ) : value_( std::forward(a)... ) {}
</pre>
<p>p.s. the comments engine seem to dislike C++ templates 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sergey Eliseev		</title>
		<link>https://www.fluentcpp.com/2017/05/05/news-strong-types-are-free/#comment-268</link>

		<dc:creator><![CDATA[Sergey Eliseev]]></dc:creator>
		<pubDate>Fri, 12 May 2017 13:39:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=684#comment-268</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.fluentcpp.com/2017/05/05/news-strong-types-are-free/#comment-251&quot;&gt;Dmytro Starosud&lt;/a&gt;.

Yes, and then using `Width` and `Height` becomes a PITA. So, there&#039;s a different cost.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.fluentcpp.com/2017/05/05/news-strong-types-are-free/#comment-251">Dmytro Starosud</a>.</p>
<p>Yes, and then using `Width` and `Height` becomes a PITA. So, there&#8217;s a different cost.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dmytro Starosud		</title>
		<link>https://www.fluentcpp.com/2017/05/05/news-strong-types-are-free/#comment-251</link>

		<dc:creator><![CDATA[Dmytro Starosud]]></dc:creator>
		<pubDate>Mon, 08 May 2017 10:01:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.fluentcpp.com/?p=684#comment-251</guid>

					<description><![CDATA[Looks expressive. But I would go to the extreme and defer all the raw stuff to the very end.
I mean it&#039;s better to have:

    class StrongRectangle
    {
    public:
        StrongRectangle (Width width, Height height) : width_(width), height_(height) {}
        Width getWidth() const {return width_;}
        Height getHeight() const {return height_;}
  
    private:
        Width width_;
        Height height_;
    };]]></description>
			<content:encoded><![CDATA[<p>Looks expressive. But I would go to the extreme and defer all the raw stuff to the very end.<br />
I mean it&#8217;s better to have:</p>
<p>    class StrongRectangle<br />
    {<br />
    public:<br />
        StrongRectangle (Width width, Height height) : width_(width), height_(height) {}<br />
        Width getWidth() const {return width_;}<br />
        Height getHeight() const {return height_;}</p>
<p>    private:<br />
        Width width_;<br />
        Height height_;<br />
    };</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
