From a07b07133120986d8d5deccc4b8e47ba7717bf66 Mon Sep 17 00:00:00 2001 From: Luigi Ballabio Date: Wed, 3 Dec 2003 08:23:00 +0000 Subject: [PATCH] Fixed problem with std::vector git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5470 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/perl5/std_vector.i | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Lib/perl5/std_vector.i b/Lib/perl5/std_vector.i index f63b0ee68..65ad9463e 100644 --- a/Lib/perl5/std_vector.i +++ b/Lib/perl5/std_vector.i @@ -216,6 +216,9 @@ namespace std { } public: vector(unsigned int size = 0); + vector(unsigned int size, const T& value); + vector(const vector &); + unsigned int size() const; bool empty() const; void clear(); @@ -383,8 +386,8 @@ namespace std { } } public: - vector(); - vector(unsigned int size, const T& value=T()); + vector(unsigned int size = 0); + vector(unsigned int size, T value); vector(const vector &); unsigned int size() const;