diff liboctave/idx-vector.h @ 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 a21a3875ca83
children 2cd903770748
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