17 May
2007
17 May
'07
7:31 p.m.
"Trigve Siver"
class A { public: pqxx::result test(int a) { return pqxx::result(); } }; int main(int argc, char* argv[]) { BOOST_AUTO(rs, a.test(1)); // OK }
One more experiment -- can you change the function signature to accept char* (or maybe some other string type to exactly match the signature of exec()), and use it passing "SELECT 1" to it? Also, can you call: cout << typeid(T.exec("SELECT 1")).name() << endl; and see if it's compiled and what gets output? Regards, Arkadiy