[odb-users] std::set<odb::lazy_shared_ptr<foo>> fails
Miguel Revilla Rodríguez
yo at miguelrevilla.com
Sat Aug 18 06:23:04 EDT 2012
Hi,
I'm trying to declare an object with a
std::set<odb::lazy_shared_ptr<foo>> member, and while the odb compiler
works nicely on it and doesn't complain, later the generated code
(object-odb.cpp) fails to compile with G++ 4.7.1 with options -O2
-std=c++11. If I change std::set with std::vector, then everything is
fine, but I'd prefer to use a set rather than a vector in this case.
Any thoughts?
Thanks,
Miguel
More information about the odb-users
mailing list