diff --git a/Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.h b/Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.h index 444b02da4a90716250dc10bbdd9d59cb289fe747..6986185a71b9e86afa7fa0c957727785a8acd874 100644 --- a/Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.h +++ b/Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.h @@ -77,6 +77,11 @@ struct GeometryDeleter * std::unique_ptr<> * \see GOTW \#103, \#104 about \c unique_ptr<> as well: http://herbsutter.com/gotw/_103/ * + * \note You may experiment difficulties to copy \c UniqueGeometryPtr. This is + * likelly to be normal. You'll have to emulate \c std::move() with \c + * boost::interprocess::move(). Check for instance \c Feature::StealGeometry(), + * or \c Feature::SetGeometryDirectly() to see examples. + * * \internal * This should be defined on top of C++11 \c std::unique_ptr<>. By the mean * time, we are using an emulation provided in boost.interprocess.