Add missing parameter names in STL container wrappers

Mostly in STL copy constructors.

Best to have parameter names as they make their way into the wrappers in
some target languages.
This commit is contained in:
William S Fulton 2019-02-12 22:04:58 +00:00
commit 6d0c495fd0
49 changed files with 72 additions and 74 deletions

View file

@ -219,7 +219,7 @@ namespace std {
typedef K key_type;
typedef T mapped_type;
map();
map(const map< K, T, C> &);
map(const map< K, T, C >& other);
unsigned int size() const;
bool empty() const;
@ -435,7 +435,7 @@ namespace std {
%rename("has-key?") has_key;
public:
map();
map(const map< K, T, C > &);
map(const map< K, T, C >& other);
unsigned int size() const;
bool empty() const;
@ -641,7 +641,7 @@ namespace std {
%rename("has-key?") has_key;
public:
map();
map(const map< K, T, C > &);
map(const map< K, T, C >& other);
unsigned int size() const;
bool empty() const;
@ -849,7 +849,7 @@ namespace std {
%rename("has-key?") has_key;
public:
map();
map(const map< K, T, C> &);
map(const map< K, T, C >& other);
unsigned int size() const;
bool empty() const;

View file

@ -189,7 +189,7 @@ namespace std {
public:
vector(unsigned int size = 0);
vector(unsigned int size, const T& value);
vector(const vector<T>&);
vector(const vector<T>& other);
%rename(length) size;
unsigned int size() const;
%rename("empty?") empty;
@ -353,7 +353,7 @@ namespace std {
public:
vector(unsigned int size = 0);
vector(unsigned int size, const T& value);
vector(const vector<T>&);
vector(const vector<T>& other);
%rename(length) size;
unsigned int size() const;
%rename("empty?") empty;