B
bob
hi,
I have been tasked with transferring a rather complex, deeply nested
structure across dll's / memory spaces and effectively I need to deep
copy the structure in question. Its a C struct and it contains
pointers. I would have liked to think I could copy construct it, but I
can't. I need to follow the pointers.
Does anybody know if there's a quick and easy way to achieve this (as
opposed to manually following the pointers and fields which go 8-15
levels deep). I'm trying to see if boost can help me out but so far I
haven't seen anything.
Does anybody know whats the best approach to take here? I'm open to
all options.... i.e. anything but manually follow those 15
levels!!
I'm fairly sure I'm reinventing the wheel, hence the
question. The struct in question is a C struct, used in a c++ app
(visual studio/borland, if its important).
thanks for any info.
Graham
I have been tasked with transferring a rather complex, deeply nested
structure across dll's / memory spaces and effectively I need to deep
copy the structure in question. Its a C struct and it contains
pointers. I would have liked to think I could copy construct it, but I
can't. I need to follow the pointers.
Does anybody know if there's a quick and easy way to achieve this (as
opposed to manually following the pointers and fields which go 8-15
levels deep). I'm trying to see if boost can help me out but so far I
haven't seen anything.
Does anybody know whats the best approach to take here? I'm open to
all options.... i.e. anything but manually follow those 15
levels!!
question. The struct in question is a C struct, used in a c++ app
(visual studio/borland, if its important).
thanks for any info.
Graham