[odb-users] update() doesn't offer a constT& signature

MM finjulhich at gmail.com
Sun Sep 3 14:32:58 EDT 2023


Hello
I get compile errors when I try to do

void f(const & myobj) {
...
      db.update<MyType>(myobj);
...
}

There are a number of overloads in database.hxx but none of them takes
const T& alone.

Rds,


More information about the odb-users mailing list