Add STL container copy constructors where missing
Also provide consistent copy constructor declarations.
This commit is contained in:
parent
dc34c39c53
commit
6d27ead9c0
36 changed files with 72 additions and 43 deletions
|
|
@ -228,7 +228,7 @@ namespace std {
|
|||
typedef const value_type& const_reference;
|
||||
|
||||
map();
|
||||
map(const map< K, T, C >& other);
|
||||
map(const map& other);
|
||||
|
||||
unsigned int size() const;
|
||||
bool empty() const;
|
||||
|
|
@ -458,7 +458,7 @@ namespace std {
|
|||
typedef const value_type& const_reference;
|
||||
|
||||
map();
|
||||
map(const map< K, T, C >& other);
|
||||
map(const map& other);
|
||||
|
||||
unsigned int size() const;
|
||||
bool empty() const;
|
||||
|
|
@ -680,7 +680,7 @@ namespace std {
|
|||
typedef const value_type& const_reference;
|
||||
|
||||
map();
|
||||
map(const map< K, T, C >& other);
|
||||
map(const map& other);
|
||||
|
||||
unsigned int size() const;
|
||||
bool empty() const;
|
||||
|
|
@ -902,7 +902,7 @@ namespace std {
|
|||
typedef const value_type& const_reference;
|
||||
|
||||
map();
|
||||
map(const map< K, T, C >& other);
|
||||
map(const map& other);
|
||||
|
||||
unsigned int size() const;
|
||||
bool empty() const;
|
||||
|
|
|
|||
|
|
@ -199,7 +199,8 @@ namespace std {
|
|||
|
||||
vector(unsigned int size = 0);
|
||||
vector(unsigned int size, const T& value);
|
||||
vector(const vector<T>& other);
|
||||
vector(const vector& other);
|
||||
|
||||
%rename(length) size;
|
||||
unsigned int size() const;
|
||||
%rename("empty?") empty;
|
||||
|
|
@ -383,7 +384,8 @@ namespace std {
|
|||
|
||||
vector(unsigned int size = 0);
|
||||
vector(unsigned int size, const T& value);
|
||||
vector(const vector<T>& other);
|
||||
vector(const vector& other);
|
||||
|
||||
%rename(length) size;
|
||||
unsigned int size() const;
|
||||
%rename("empty?") empty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue