[odb-users] unable to map C++ type '::__gnu_cxx::new_allocator<
::std::weak_ptr< ... error in One-to-Many relationships
Monika Idzik
moni.idzik at gmail.com
Thu Sep 5 18:12:16 EDT 2019
Actually, I tried some more things:
1. I put those two classes into one file -> still the same error.
2. I just copied relationship example into my project from examples
provided on the website -> still the same error.
I'm kind of confused now, I use the same code as in an example, the same
options for odb compilation, so what's wrong?
czw., 5 wrz 2019 o 09:07 Monika Idzik <moni.idzik at gmail.com> napisał(a):
> I read this section and added
>
> #include "analysis_result.hpp" at the end of experiment_configuration.hpp
> file, what was mentioned in the section.
>
> However, it didn't resolve the: unable to map C++ type error...
> Can it be a different reason for such behavior other than "circular
> relationships"?
>
>
> That's most likely where the problem is, as discussed in Section 6.3,
>> "Circular Relationships".
>>
>
More information about the odb-users
mailing list