[odb-users] Defining one-to-many bidirectional relationship
Boris Kolpackov
boris at codesynthesis.com
Fri Feb 10 10:45:20 EST 2017
Hi David,
david bowe <dpbowe at hotmail.com> writes:
> database.hxx:111:46: error: unable to map C++ type
> '::__gnu_cxx::new_allocator< ::boost::weak_ptr< ::order > >::this_type'
> used in data member 'orders_' to a PostgreSQL database type
You are using Boost smart pointers. Have you enabled the Boost profile
(libodb-boost)?
Boris
More information about the odb-users
mailing list