| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | September 19 2005 5:21pm |
| Subject: | Re: [patch] row::operator[] - template version | ||
| View as plain text | |||
Chris Frey wrote: > - const ColData operator [](size_type i) const > + template <class IndexT> > + 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.
