fix copyctor + template bug #1432125
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9f2e2f2fb0
commit
ca911e8167
1 changed files with 3 additions and 16 deletions
|
|
@ -69,21 +69,7 @@ public:
|
|||
|
||||
|
||||
|
||||
%{
|
||||
#include <vector>
|
||||
%}
|
||||
|
||||
namespace std {
|
||||
|
||||
template<class T> 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() {}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue