From 263379145ead56f8b851ace23509abcd7fbbd9ba Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Thu, 16 Feb 2006 05:48:35 +0000 Subject: [PATCH] fix copyctor + template bug #1432125 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8823 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/constructor_copy.i | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/Examples/test-suite/constructor_copy.i b/Examples/test-suite/constructor_copy.i index 04913cb41..e389cb56d 100644 --- a/Examples/test-suite/constructor_copy.i +++ b/Examples/test-suite/constructor_copy.i @@ -69,21 +69,7 @@ public: -%{ -#include -%} - -namespace std { - - template class vector { - public: - typedef size_t size_type; - typedef T value_type; - typedef const value_type& const_reference; - vector(); - vector(size_type n); - }; -} +%include "std_vector.i" @@ -98,9 +84,10 @@ namespace std { namespace Space { class Flow { public: - Flow() {} Flow(int i) {} Flow(const Flow& other) {} +private: + Flow() {} }; }