<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 15: Odd subscript_iterator arithmetic operators</title><link href="https://sourceforge.net/p/mysqlcppapi/bugs/15/" rel="alternate"/><link href="https://sourceforge.net/p/mysqlcppapi/bugs/15/feed.atom" rel="self"/><id>https://sourceforge.net/p/mysqlcppapi/bugs/15/</id><updated>2005-09-03T18:42:47Z</updated><subtitle>Recent changes to 15: Odd subscript_iterator arithmetic operators</subtitle><entry><title>Odd subscript_iterator arithmetic operators</title><link href="https://sourceforge.net/p/mysqlcppapi/bugs/15/" rel="alternate"/><published>2005-09-03T18:42:47Z</published><updated>2005-09-03T18:42:47Z</updated><author><name>Jonathan Wakely</name><uri>https://sourceforge.net/u/redi/</uri></author><id>https://sourceforge.net5868de66ee2e0486bd08fbbd77428ad245188290</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The arithmetic ops for subscript_iterator are odd, for&lt;br /&gt;
example:&lt;/p&gt;
&lt;p&gt;bool operator != (const subscript_iterator &amp;amp;j) const&lt;br /&gt;
{&lt;br /&gt;
return (d == j.d &amp;amp;&amp;amp; i!=j.i);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;this means that two iterators with different 'd'&lt;br /&gt;
pointers will return false when compared with !=&lt;/p&gt;
&lt;p&gt;I don't plan to change this for 2.0.0 as I need to look&lt;br /&gt;
into it further.&lt;/p&gt;
&lt;p&gt;Should define &amp;lt; and == correctly and then implement&lt;br /&gt;
others in terms of them.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>