
6 Oct
2006
6 Oct
'06
5:37 a.m.
On 2006-10-06, Mateusz Loskot <mateusz@loskot.net> wrote:
loufoque wrote:
Nicola Musatti wrote:
std::cout << r[0].as<long>() << "\t ";
Maybe r[0] could be a boost::any or something of the like ?
Currently, SOCI uses similar concept of type holder (near line 284)
http://soci.cvs.sourceforge.net/soci/src/core/soci.h?view=markup
SOCI's TypeHolder is just an implementation detail. In fact I originally prototyped it using boost::any, but replaced it later, since SOCI is meant to not require boost.
IMHO, boost::any seems interesting subject for boostification task.
Sure, or boost::variant. But again this is an implementation detail - the public interface is via SOCI::Row. Steve