Hello,
Regarding "/usr/include/mysql++/stream2string.h:47: error: 'const struct
mysqlpp:

Tbase<mysqlpp:

ateTime>' has no member named 'out_stream'"
This is caused by the lack of out_stream in DTbase and its derived
classes so all you need to do is add out_stream member functions - see
below.
Joel.
In datetime.h:
1) Add to DTbase declaration
virtual std:

stream& out_stream(std:

stream& os) const = 0;
2) Add to each of DateTime, Date, and Time declarations:
virtual std:

stream& out_stream(std:

stream& os) const;
3) You might need MYSQLPP_EXPORT in those declarations, see previous
posts for more on that.
In datetime.cpp add these:
std:

stream& DateTime:

ut_stream(std:

stream& os) const
{
return operator <<(os, *this);
}
std:

stream& Date:

ut_stream(std:

stream& os) const
{
return operator <<(os, *this);
}
std:

stream& Time:

ut_stream(std:

stream& os) const
{
return operator <<(os, *this);
}
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw