diff Resources/Conventions.txt @ 1308:adf234ecaa00 broker

Merge
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 04 Mar 2020 10:21:54 +0100
parents c38c89684d83
children 3d26447ddd28
line wrap: on
line diff
--- a/Resources/Conventions.txt	Wed Mar 04 10:07:37 2020 +0100
+++ b/Resources/Conventions.txt	Wed Mar 04 10:21:54 2020 +0100
@@ -62,14 +62,14 @@
 --------
 
 * As we are targeting C++03 (for VS2008 and LSB compatibility), use
-  "std::auto_ptr<>" and "boost::shared_ptr<>" (*not*
+  "std::unique_ptr<>" and "boost::shared_ptr<>" (*not*
   "std::shared_ptr<>").
 
 * The fact of transfering the ownership of one object to another must
   be tagged by naming the method "Acquire...()", and by providing a
   raw pointer.
 
-* Use "std::auto_ptr<>" if the goal is to internally store a pointer
+* Use "std::unique_ptr<>" if the goal is to internally store a pointer
   whose lifetime corresponds to the host object.
 
 * The use of "boost::weak_ptr<>" should be restricted to