[odb-users] Lazy Pointers Exception
Tarik BENZ
tenchu.tarik at hotmail.fr
Wed Jul 3 14:37:26 EDT 2013
Hello,
I am trying to use the odb lazy pointers and I've encountered a problem :
std::vector<shared_ptr<Participant_Has_Components>>* pdoses;
...
std::vector<shared_ptr<Dose>> * doses = new std::vector<shared_ptr<Dose>>();
for (iterator= pdoses->begin(); iterator != pdoses->end(); iterator++)
{
doses->push_back((*iterator)->getRefDose().load());
}
----------
Participant_Has_Components contains an element
odb::lazy_shared_ptr<Dose> ref_Dose;
But I have this error message at the compilation :
Error 1 error C2679: binary '=' : no operator found which takes a right-hand operand of type 'Dose *' (or there is no acceptable conversion) ..\ODB\libodb-2.2.2\odb\lazy-ptr.ixx line 1132 1
Does anyone have an idea?
Thank you.
More information about the odb-users
mailing list