I have problem with creating vector of complex structures within boost::interprocess using msvc2008. Answers of questions asked before (links below) provides some solutions, but none of them works with msvc2008. Error type is always the same:
error: no match for ‘operator=’ (operand types are ‘complex_data’ and ‘const complex_data’)
Previous questions about the problem:
Shared memory Vectors in boost with
How to I create a boost interprocess vector of interprocess containers?
Suggested solutions:
http://coliru.stacked-crooked.com/a/10000376928990e2
http://coliru.stacked-crooked.com/a/3d6582c2d59015d2
Note: I know I should move to newer versions of Visual Studio. But sadly, I am currently stuck with msvc2008.