logo       

SSQLS v2 :): msg#00051

db.mysql.c++

Subject: SSQLS v2 :)

Hello

I'm studying expanded SSQLS code and I have a question.
As I can see, field_list() (for example) return a temporary object of
<ClassName>_field_list. And real output to stream operate with it. I wonder,
what are advantages of such approach? Why we can't just return std::string in
field_list()? Disadvantage is heavy *.h.

Thanks

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise