From: Warren Young Date: January 12 2007 6:37pm Subject: Re: Return string directly from the class ROW List-Archive: http://lists.mysql.com/plusplus/6282 Message-Id: <45A7D57B.9050701@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Yingbo Miao wrote: > > I wonder whether it is a good way to return the "raw string" directly > from the class ROW. For example, one line line can be added to the > row.h > > > class ROW ... > { > public: > > > // The suggestion function. Return the "raw string" > const std::string & raw_string ( int i ) const { return data.at(i); } Sorry for the long delay, but I've applied a patch for this. It'll appear in MySQL++ 2.2. Thanks for the suggestion!