| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | August 22 2008 8:06pm |
| Subject: | Re: A way to copy mysqlpp::StoreQueryResult into a std::map? | ||
| View as plain text | |||
Alex wrote:
> slog.clog("Name: " + res_help_cmd[0]["name"]);
I passed over this earlier because I assumed you knew what you were
doing. I now believe you're under the impression that you're writing
Javascript, or maybe VB. C++ can be made to concatenate strings with
operator +, but its operator overloading rules don't make it automatic
or trivial.
I'm pretty sure the compiler believes you want pointer arithmetic here.
Fixing this is way, way off topic for this list.
