[soci-users] Passing parent objects to type_conversion structs

2012-11-14 Thread doug livesey
Hi -- I'm trying to implement persistence with SOCI in a C++ project I'm working on, but am coming a little unstuck when saving models that need to know their parent's id for persistence. Which is most of the objects! I've tried creating a std::pair (with child and parent domain classes) specialisa

Re: [soci-users] Passing parent objects to type_conversion structs

2012-11-14 Thread Mateusz Loskot
On 14 November 2012 19:04, doug livesey wrote: > Hi -- I'm trying to implement persistence with SOCI in a C++ project I'm > working on, but am coming a little unstuck when saving models that need to > know their parent's id for persistence. Which is most of the objects! > I've tried creating a std