You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c("select id from users")() | [] (int &uid) { std::cout << uid << std::endl; };
fails with
usr/include/silicon/middlewares/sqlite_connection.hh:115:9: error: no matching member function for call to 'row_to_sio'
row_to_sio(o);
^~~~~~~~~~
test.cc:36:39: note: in instantiation of function template specialization 'sl::sqlite_statement::operator|<(lambda at test.cc:36:41)>' requested here
c("select id from users")() | [] (int &uid)
^
/usr/include/silicon/middlewares/sqlite_connection.hh:37:10: note: candidate template ignored: could not match 'sio<type-parameter-0-0...>' against 'int'
void row_to_sio(iod::sio<A...>& o)
seems like only sio objects work with |?
The text was updated successfully, but these errors were encountered:
c("select id from users")() | [] (int &uid) { std::cout << uid << std::endl; };
fails with
seems like only sio objects work with
|
?The text was updated successfully, but these errors were encountered: