From: Warren Young Date: September 19 2005 5:21pm Subject: Re: [patch] row::operator[] - template version List-Archive: http://lists.mysql.com/plusplus/4954 Message-Id: <432EF38B.105@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Chris Frey wrote: > - const ColData operator [](size_type i) const > + template > + const ColData operator [](IndexT i) const Because this avoids the duplicate code, this patch makes me happier than the previous one, but I haven't dug into pps's technical arguments against it yet. I have tested it on both g++ on Linux and VC++ 7.1 on Windows, and it seems to work.