From 60f4e51d9915e50e0d3aa691c7d34380096a6845 Mon Sep 17 00:00:00 2001
From: Luc Hermitte <luc.hermitte@c-s.fr>
Date: Mon, 7 May 2012 15:23:34 +0200
Subject: [PATCH] DOC: OTB-134/OGR, doxygen complements about UniqueGeometryPtr
 and boost::interprocess::move()

---
 Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.h b/Code/UtilitiesAdapters/OGRAdapters/otbOGRGeometryWrapper.h
index 444b02da4a..6986185a71 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.
-- 
GitLab