changeset 13729:d13b6086aea9

Make std::auto_ptr friend of idx_vector to allow access to private class idx_vector_rep. * idx-vector.h (class idx_vector): Add friend std::auto_ptr.
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 20 Oct 2011 12:54:26 +0100
parents 47f803279384
children a2c74b5c02de
files liboctave/idx-vector.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/idx-vector.h	Thu Oct 20 12:54:10 2011 +0100
+++ b/liboctave/idx-vector.h	Thu Oct 20 12:54:26 2011 +0100
@@ -63,6 +63,8 @@
       class_mask
     };
 
+  template<class T> friend class std::auto_ptr;
+
 private:
 
   class OCTAVE_API idx_base_rep