5 messages in com.mysql.lists.plusplusRe: Return string directly from the c...
FromSent OnAttachments
Yingbo Miao03 Aug 2005 18:03 
Pål Brattberg04 Aug 2005 06:07 
Yingbo Miao04 Aug 2005 08:26 
Yingbo Miao04 Aug 2005 13:12 
Warren Young12 Jan 2007 10:37 
Subject:Re: Return string directly from the class ROW
From:Warren Young (mysq@etr-usa.com)
Date:01/12/2007 10:37:24 AM
List:com.mysql.lists.plusplus

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!