<?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#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: The New Old Iterator Concepts</title>
	<atom:link href="http://conceptgcc.wordpress.com/2007/05/03/the-new-old-iterator-concepts/feed/" rel="self" type="application/rss+xml" />
	<link>http://conceptgcc.wordpress.com/2007/05/03/the-new-old-iterator-concepts/</link>
	<description>The Design and Implementation of Concepts for C++</description>
	<lastBuildDate>Thu, 06 Aug 2009 18:19:18 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kostas Skolarikis</title>
		<link>http://conceptgcc.wordpress.com/2007/05/03/the-new-old-iterator-concepts/#comment-699</link>
		<dc:creator>Kostas Skolarikis</dc:creator>
		<pubDate>Wed, 16 May 2007 10:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://conceptgcc.wordpress.com/2007/05/03/the-new-old-iterator-concepts/#comment-699</guid>
		<description>Something went wrong with the conversion of my previous message and template brackets and parameters disappeared. So I repeat it hopefully correct this time

I was able to solve with this version of ConceptGCC the (infamous also) problem of sorting two “parallel” vectors, in an eventually conforming way!
If you have two vectors (&lt;code&gt;vector&lt;key_type&gt; , vector&lt;data_type&gt;&lt;/code&gt;) and you like to treat them as a unified structure(as an alternative to &lt;code&gt;map&lt;key_type, data_type&gt;&lt;/code&gt; for example) the most natural way is to make up an iterator with value type something like &lt;code&gt;pair&lt;key_type, data_type&gt;&lt;/code&gt; and reference_type &lt;code&gt;pair&lt;key_type&amp; , data_type&amp; &gt;&lt;/code&gt; (that is not value_type&amp;). Unfortunately this solution was not conforming. I was able to compile such an iterator with this version of ConceptGCC and it worked just fine.

It had been working also with gcc 4.1.1 (and older i think) but it was not a portable solution.

It was my fist time testing ConceptGCC and I thing the compilation speed is going to be a real problem.</description>
		<content:encoded><![CDATA[<p>Something went wrong with the conversion of my previous message and template brackets and parameters disappeared. So I repeat it hopefully correct this time</p>
<p>I was able to solve with this version of ConceptGCC the (infamous also) problem of sorting two “parallel” vectors, in an eventually conforming way!<br />
If you have two vectors (<code>vector&lt;key_type&gt; , vector&lt;data_type&gt;</code>) and you like to treat them as a unified structure(as an alternative to <code>map&lt;key_type, data_type&gt;</code> for example) the most natural way is to make up an iterator with value type something like <code>pair&lt;key_type, data_type&gt;</code> and reference_type <code>pair&lt;key_type&amp; , data_type&amp; &gt;</code> (that is not value_type&amp;). Unfortunately this solution was not conforming. I was able to compile such an iterator with this version of ConceptGCC and it worked just fine.</p>
<p>It had been working also with gcc 4.1.1 (and older i think) but it was not a portable solution.</p>
<p>It was my fist time testing ConceptGCC and I thing the compilation speed is going to be a real problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kostas Skolarikis</title>
		<link>http://conceptgcc.wordpress.com/2007/05/03/the-new-old-iterator-concepts/#comment-684</link>
		<dc:creator>Kostas Skolarikis</dc:creator>
		<pubDate>Tue, 15 May 2007 13:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://conceptgcc.wordpress.com/2007/05/03/the-new-old-iterator-concepts/#comment-684</guid>
		<description>I was able to solve with this version of ConceptGCC the (infamous also) problem of sorting two “parallel” vectors, in an  eventually  conforming way!
If you have two vectors (vector, vector) and you like to treat them as a unified structure(as an alternative to map for example) the most natural way is to make up an iterator with value type something like pair and reference_type pair (that is not value_type&amp;). Unfortunately this solution was not conforming. I was able to compile such an iterator with this version of  ConceptGCC and it worked just fine.

It had been working also with gcc 4.1.1 (and older i think) but it was not a portable solution.

It was my fist time testing ConceptGCC and I thing the compilation speed is going to be  a real problem.</description>
		<content:encoded><![CDATA[<p>I was able to solve with this version of ConceptGCC the (infamous also) problem of sorting two “parallel” vectors, in an  eventually  conforming way!<br />
If you have two vectors (vector, vector) and you like to treat them as a unified structure(as an alternative to map for example) the most natural way is to make up an iterator with value type something like pair and reference_type pair (that is not value_type&amp;). Unfortunately this solution was not conforming. I was able to compile such an iterator with this version of  ConceptGCC and it worked just fine.</p>
<p>It had been working also with gcc 4.1.1 (and older i think) but it was not a portable solution.</p>
<p>It was my fist time testing ConceptGCC and I thing the compilation speed is going to be  a real problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
