I was trying to convert a ColData to type string but got this compilation e=
rror:
error: conversion from `const mysqlpp::ColData' to non-scalar type
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
then I tried to convert it to Glib::ustring I got the same error. The
codes I used were
mysqlpp::Row row;
while (row =3D result.fetch_row()) {
std::string content =3D row["item"];
std::cout << content << std::endl;
}
--=20
Dell Inspiron 600m
Pentium-M 1.6G
512MB, 60G
ATI 9000 Mobility
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw