Hello all,

 

I registered our legacy geometry types with boost geometry. When I try to use the simply algorithm on linestring, I am getting the following compile error messages. Could someone please tell me what I am doing wrong?

 

Error      21           error C2039: 'const_reference' : is not a member of 'LineString2D<Type>'             c:\program files (x86)\microsoft visual studio 11.0\vc\include\iterator     23

Error      22           error C2146: syntax error : missing ';' before identifier 'const_reference'               c:\program files (x86)\microsoft visual studio 11.0\vc\include\iterator     23

Error      23           error C4430: missing type specifier - int assumed. Note: C++ does not support default-int                c:\program files (x86)\microsoft visual studio 11.0\vc\include\iterator    23

Error      24           error C2602: 'std::back_insert_iterator<_Container>::const_reference' is not a member of a base class of 'std::back_insert_iterator<_Container>'                c:\program files (x86)\microsoft visual studio 11.0\vc\include\iterator               23

Error      25           error C2868: 'std::back_insert_iterator<_Container>::const_reference' : illegal syntax for using-declaration; expected qualified-name    c:\program files (x86)\microsoft visual studio 11.0\vc\include\iterator    23

Error      26           error C2039: 'value_type' : is not a member of 'QCS::LineString2D<Type>'             c:\program files (x86)\microsoft visual studio 11.0\vc\include\iterator     24

Error      27           error C2182: '_Val' : illegal use of type 'void'         c:\program files (x86)\microsoft visual studio 11.0\vc\include\iterator               31

Error      28           error C2182: '_Val' : illegal use of type 'void'         c:\program files (x86)\microsoft visual studio 11.0\vc\include\iterator               37

 

Thank you in advance,

Suresh