Hi,

I have this clumsy piece of code:

 

if( !vecpt.empty() ) {

       emplace_back( polygon_type() );

       static_cast< std::vector< _TPoint< T > >& >( back().outer() ) = std::move(vecpt);

}

 

which actually should be written like this:

 

boost::geometry::convert( polygon_type::ring_type( std::move(vecpt) ), *this );

 

but unfortunately this kind of conversion does not work. Did I make a mistake in my above statement, or is this not (yet) supported? If the latter, do you plan on adding support for this at some point?

Thanks!

   Volker

--
Volker Schöch | vschoech@think-cell.com
Senior Software Engineer



think-cell Software GmbH http://www.think-cell.com
Chausseestr. 8/E phone / fax +49 30 666473-10 / -19
10115 Berlin, Germany US phone / fax +1 800 891 8091 / +1 212 504 3039
Amtsgericht Berlin-Charlottenburg, HRB 85229 | European Union VAT Id DE813474306
Directors: Dr. Markus Hannebauer, Dr. Arno Schödl