diff options
49 files changed, 72 insertions, 74 deletions
diff --git a/Lib/allegrocl/std_list.i b/Lib/allegrocl/std_list.i index 4e260897f..332691de1 100644 --- a/Lib/allegrocl/std_list.i +++ b/Lib/allegrocl/std_list.i @@ -36,7 +36,7 @@ namespace std{ list(); list(unsigned int size, const T& value = T()); - list(const list<T> &); + list(const list<T> &other); ~list(); void assign(unsigned int n, const T& value); diff --git a/Lib/d/std_map.i b/Lib/d/std_map.i index 968def214..b7da364cc 100644 --- a/Lib/d/std_map.i +++ b/Lib/d/std_map.i @@ -24,7 +24,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; diff --git a/Lib/go/std_map.i b/Lib/go/std_map.i index f514cf743..3077d157f 100644 --- a/Lib/go/std_map.i +++ b/Lib/go/std_map.i @@ -28,7 +28,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; diff --git a/Lib/guile/std_map.i b/Lib/guile/std_map.i index ca9883688..4b8dd67c2 100644 --- a/Lib/guile/std_map.i +++ b/Lib/guile/std_map.i @@ -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; diff --git a/Lib/guile/std_vector.i b/Lib/guile/std_vector.i index d7a7140c6..c144f879c 100644 --- a/Lib/guile/std_vector.i +++ b/Lib/guile/std_vector.i @@ -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; diff --git a/Lib/java/std_map.i b/Lib/java/std_map.i index e44a7e97a..0b0041fb8 100644 --- a/Lib/java/std_map.i +++ b/Lib/java/std_map.i @@ -154,7 +154,7 @@ template<class KeyType, class MappedType, class Comparator = std::less<KeyType> typedef const value_type& const_reference; map(); - map(const map<KeyType, MappedType, Comparator >&); + map(const map<KeyType, MappedType, Comparator >& other); struct iterator { %typemap(javaclassmodifiers) iterator "protected class" @@ -185,7 +185,7 @@ template<class KeyType, class MappedType, class Comparator = std::less<KeyType> %rename(isEmpty) empty; bool empty() const; void clear(); - iterator find(const KeyType&); + iterator find(const KeyType& key); iterator begin(); iterator end(); %extend { diff --git a/Lib/java/std_set.i b/Lib/java/std_set.i index 018d056cc..4453d90bd 100644 --- a/Lib/java/std_set.i +++ b/Lib/java/std_set.i @@ -160,7 +160,7 @@ class set { typedef const value_type& const_reference; set(); - set(const set<T>&); + set(const set<T>& other); %rename(isEmpty) empty; bool empty() const; diff --git a/Lib/java/std_unordered_map.i b/Lib/java/std_unordered_map.i index 86992479e..eecdf0bc4 100644 --- a/Lib/java/std_unordered_map.i +++ b/Lib/java/std_unordered_map.i @@ -153,7 +153,7 @@ template<class KeyType, class MappedType > class unordered_map { typedef const value_type& const_reference; unordered_map(); - unordered_map(const unordered_map<KeyType, MappedType >&); + unordered_map(const unordered_map<KeyType, MappedType >& other); struct iterator { %typemap(javaclassmodifiers) iterator "protected class" @@ -184,7 +184,7 @@ template<class KeyType, class MappedType > class unordered_map { %rename(isEmpty) empty; bool empty() const; void clear(); - iterator find(const KeyType&); + iterator find(const KeyType& key); iterator begin(); iterator end(); %extend { diff --git a/Lib/java/std_unordered_set.i b/Lib/java/std_unordered_set.i index 3cbdca639..06c7a1123 100644 --- a/Lib/java/std_unordered_set.i +++ b/Lib/java/std_unordered_set.i @@ -160,7 +160,7 @@ class unordered_set { typedef const value_type& const_reference; unordered_set(); - unordered_set(const unordered_set<T>&); + unordered_set(const unordered_set<T>& other); %rename(isEmpty) empty; bool empty() const; diff --git a/Lib/javascript/jsc/std_map.i b/Lib/javascript/jsc/std_map.i index 903f77aa5..cc9474abc 100644 --- a/Lib/javascript/jsc/std_map.i +++ b/Lib/javascript/jsc/std_map.i @@ -28,7 +28,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; diff --git a/Lib/javascript/v8/std_map.i b/Lib/javascript/v8/std_map.i index 903f77aa5..cc9474abc 100644 --- a/Lib/javascript/v8/std_map.i +++ b/Lib/javascript/v8/std_map.i @@ -28,7 +28,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; diff --git a/Lib/lua/std_map.i b/Lib/lua/std_map.i index 8a203e133..3077d157f 100644 --- a/Lib/lua/std_map.i +++ b/Lib/lua/std_map.i @@ -28,7 +28,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; diff --git a/Lib/lua/std_pair.i b/Lib/lua/std_pair.i index 06728533b..eee365c82 100644 --- a/Lib/lua/std_pair.i +++ b/Lib/lua/std_pair.i @@ -37,6 +37,6 @@ namespace std { }; template <class T, class U > - pair<T,U> make_pair(const T&,const U&); + pair<T,U> make_pair(const T& t,const U& u); } diff --git a/Lib/lua/std_string.i b/Lib/lua/std_string.i index e9f326b52..b95a8a4a2 100644 --- a/Lib/lua/std_string.i +++ b/Lib/lua/std_string.i @@ -109,7 +109,6 @@ as this is overloaded by the const char* version public: string(); string(const char*); - //string(const string&); unsigned int size() const; unsigned int length() const; bool empty() const; @@ -119,7 +118,6 @@ as this is overloaded by the const char* version // assign does not return a copy of this object // (no point in a scripting language) void assign(const char*); - //void assign(const string&); // no support for all the other features // it's probably better to do it in lua }; diff --git a/Lib/lua/std_vector.i b/Lib/lua/std_vector.i index a4ea978db..3199a9dab 100644 --- a/Lib/lua/std_vector.i +++ b/Lib/lua/std_vector.i @@ -27,7 +27,7 @@ namespace std { public: vector(); vector(unsigned int); - vector(const vector&); + vector(const vector& other); vector(unsigned int,T); unsigned int size() const; unsigned int max_size() const; diff --git a/Lib/mzscheme/std_map.i b/Lib/mzscheme/std_map.i index 6a0cb2d36..68c7f7fb1 100644 --- a/Lib/mzscheme/std_map.i +++ b/Lib/mzscheme/std_map.i @@ -222,7 +222,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; @@ -442,7 +442,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; @@ -654,7 +654,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; @@ -866,7 +866,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; diff --git a/Lib/mzscheme/std_vector.i b/Lib/mzscheme/std_vector.i index 22e1fa96b..9fa2d5497 100644 --- a/Lib/mzscheme/std_vector.i +++ b/Lib/mzscheme/std_vector.i @@ -191,7 +191,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; @@ -367,7 +367,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; diff --git a/Lib/ocaml/std_list.i b/Lib/ocaml/std_list.i index 06181cca8..cb648d711 100644 --- a/Lib/ocaml/std_list.i +++ b/Lib/ocaml/std_list.i @@ -25,7 +25,7 @@ namespace std{ list(); list(unsigned int size, const T& value = T()); - list(const list<T> &); + list(const list<T>& other); ~list(); void assign(unsigned int n, const T& value); diff --git a/Lib/ocaml/std_map.i b/Lib/ocaml/std_map.i index 91756bec0..b50bc7fc0 100644 --- a/Lib/ocaml/std_map.i +++ b/Lib/ocaml/std_map.i @@ -27,7 +27,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; diff --git a/Lib/ocaml/std_vector.i b/Lib/ocaml/std_vector.i index 6f82058b5..053b645f0 100644 --- a/Lib/ocaml/std_vector.i +++ b/Lib/ocaml/std_vector.i @@ -43,7 +43,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); unsigned int size() const; bool empty() const; void clear(); diff --git a/Lib/octave/std_deque.i b/Lib/octave/std_deque.i index 6866a610f..c40cfee12 100644 --- a/Lib/octave/std_deque.i +++ b/Lib/octave/std_deque.i @@ -12,7 +12,7 @@ template <class T> struct traits_from<std::deque<T> > { - static octave_value from(const std::deque<T> & vec) { + static octave_value from(const std::deque<T>& vec) { return traits_from_stdseq<std::deque<T> >::from(vec); } }; diff --git a/Lib/octave/std_list.i b/Lib/octave/std_list.i index 1421efaee..35f6c1321 100644 --- a/Lib/octave/std_list.i +++ b/Lib/octave/std_list.i @@ -12,7 +12,7 @@ template <class T> struct traits_from<std::list<T> > { - static octave_value *from(const std::list<T> & vec) { + static octave_value *from(const std::list<T>& vec) { return traits_from_stdseq<std::list<T> >::from(vec); } }; diff --git a/Lib/perl5/std_list.i b/Lib/perl5/std_list.i index cd5a61120..8e2945fba 100644 --- a/Lib/perl5/std_list.i +++ b/Lib/perl5/std_list.i @@ -193,7 +193,7 @@ namespace std { typedef const value_type& const_reference; list(); - list(const list<T> &); + list(const list<T>& other); unsigned int size() const; bool empty() const; @@ -346,7 +346,7 @@ namespace std { typedef const value_type& const_reference; list(); - list(const list<T> &); + list(const list<T>& other); unsigned int size() const; bool empty() const; diff --git a/Lib/perl5/std_map.i b/Lib/perl5/std_map.i index ae7c26601..fe9b6f3f1 100644 --- a/Lib/perl5/std_map.i +++ b/Lib/perl5/std_map.i @@ -28,7 +28,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; diff --git a/Lib/perl5/std_vector.i b/Lib/perl5/std_vector.i index ec8449464..adfe95df6 100644 --- a/Lib/perl5/std_vector.i +++ b/Lib/perl5/std_vector.i @@ -185,7 +185,7 @@ namespace std { typedef const value_type& const_reference; vector(unsigned int size = 0); vector(unsigned int size, const T& value); - vector(const vector<T> &); + vector(const vector<T>& other); unsigned int size() const; bool empty() const; @@ -357,7 +357,7 @@ namespace std { typedef const value_type& const_reference; vector(unsigned int size = 0); vector(unsigned int size, T *value); - vector(const vector<T *> &); + vector(const vector<T *>& other); unsigned int size() const; bool empty() const; @@ -528,7 +528,7 @@ namespace std { typedef const value_type& const_reference; vector(unsigned int size = 0); vector(unsigned int size, T value); - vector(const vector<T> &); + vector(const vector<T>& other); unsigned int size() const; bool empty() const; diff --git a/Lib/php/std_map.i b/Lib/php/std_map.i index 020c20153..4d93fa144 100644 --- a/Lib/php/std_map.i +++ b/Lib/php/std_map.i @@ -28,7 +28,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; void clear(); diff --git a/Lib/python/std_deque.i b/Lib/python/std_deque.i index b19375633..d9a174706 100644 --- a/Lib/python/std_deque.i +++ b/Lib/python/std_deque.i @@ -14,7 +14,7 @@ template <class T> struct traits_from<std::deque<T> > { - static PyObject *from(const std::deque<T> & vec) { + static PyObject *from(const std::deque<T>& vec) { return traits_from_stdseq<std::deque<T> >::from(vec); } }; diff --git a/Lib/python/std_list.i b/Lib/python/std_list.i index baf66d914..24d274b42 100644 --- a/Lib/python/std_list.i +++ b/Lib/python/std_list.i @@ -14,7 +14,7 @@ template <class T> struct traits_from<std::list<T> > { - static PyObject *from(const std::list<T> & vec) { + static PyObject *from(const std::list<T>& vec) { return traits_from_stdseq<std::list<T> >::from(vec); } }; diff --git a/Lib/ruby/rubycontainer.swg b/Lib/ruby/rubycontainer.swg index 4d0163f51..e8830a715 100644 --- a/Lib/ruby/rubycontainer.swg +++ b/Lib/ruby/rubycontainer.swg @@ -943,7 +943,7 @@ namespace swig } } - catch( const std::invalid_argument & ) + catch(const std::invalid_argument &) { rb_raise( rb_eArgError, "%s", Ruby_Format_TypeError( "", @@ -970,7 +970,7 @@ namespace swig Sequence::value_type val = swig::as<Sequence::value_type>( elem ); $self->insert( start, val ); } - catch( const std::invalid_argument & ) + catch(const std::invalid_argument &) { rb_raise( rb_eArgError, "%s", Ruby_Format_TypeError( "", diff --git a/Lib/ruby/rubycontainer_extended.swg b/Lib/ruby/rubycontainer_extended.swg index 7514ba2c8..663dddb8c 100644 --- a/Lib/ruby/rubycontainer_extended.swg +++ b/Lib/ruby/rubycontainer_extended.swg @@ -69,7 +69,7 @@ *i = swig::as< Type >( r ); } } - catch ( const std::invalid_argument& ) + catch (const std::invalid_argument&) { rb_raise(rb_eTypeError, "Yield block did not return a valid element for " "Container"); diff --git a/Lib/ruby/std_deque.i b/Lib/ruby/std_deque.i index 38048aff7..b70f34ee3 100644 --- a/Lib/ruby/std_deque.i +++ b/Lib/ruby/std_deque.i @@ -14,7 +14,7 @@ template <class T> struct traits_from<std::deque<T> > { - static VALUE from(const std::deque<T> & vec) { + static VALUE from(const std::deque<T>& vec) { return traits_from_stdseq<std::deque<T> >::from(vec); } }; diff --git a/Lib/ruby/std_list.i b/Lib/ruby/std_list.i index 5f179cc69..b0b4928e4 100644 --- a/Lib/ruby/std_list.i +++ b/Lib/ruby/std_list.i @@ -14,7 +14,7 @@ template <class T> struct traits_from<std::list<T> > { - static VALUE from(const std::list<T> & vec) { + static VALUE from(const std::list<T>& vec) { return traits_from_stdseq<std::list<T> >::from(vec); } }; diff --git a/Lib/ruby/std_queue.i b/Lib/ruby/std_queue.i index a12936775..2a16d9cfd 100644 --- a/Lib/ruby/std_queue.i +++ b/Lib/ruby/std_queue.i @@ -14,7 +14,7 @@ template <class T> struct traits_from<std::queue<T> > { - static VALUE from(const std::queue<T> & vec) { + static VALUE from(const std::queue<T>& vec) { return traits_from_stdseq<std::queue<T> >::from(vec); } }; diff --git a/Lib/ruby/std_stack.i b/Lib/ruby/std_stack.i index 600c81c96..7df48ef1b 100644 --- a/Lib/ruby/std_stack.i +++ b/Lib/ruby/std_stack.i @@ -14,7 +14,7 @@ template <class T> struct traits_from<std::stack<T> > { - static VALUE from(const std::stack<T> & vec) { + static VALUE from(const std::stack<T>& vec) { return traits_from_stdseq<std::stack<T> >::from(vec); } }; diff --git a/Lib/scilab/std_map.i b/Lib/scilab/std_map.i index 0255e2f6a..aea1c7141 100644 --- a/Lib/scilab/std_map.i +++ b/Lib/scilab/std_map.i @@ -23,7 +23,7 @@ namespace std { // add typemaps here public: map(); - map(const map< K, T, C > &); + map(const map< K, T, C >& other); unsigned int size() const; bool empty() const; diff --git a/Lib/std/std_alloc.i b/Lib/std/std_alloc.i index 44dc8dc3e..e460dc3ea 100644 --- a/Lib/std/std_alloc.i +++ b/Lib/std/std_alloc.i @@ -31,9 +31,9 @@ namespace std allocator() throw(); - allocator(const allocator&) throw(); + allocator(const allocator& other) throw(); template<typename _Tp1> - allocator(const allocator<_Tp1>&) throw(); + allocator(const allocator<_Tp1>& other) throw(); ~allocator() throw(); diff --git a/Lib/std/std_container.i b/Lib/std/std_container.i index 000163f1e..570dfde48 100644 --- a/Lib/std/std_container.i +++ b/Lib/std/std_container.i @@ -11,7 +11,7 @@ %define %std_container_methods_non_resizable(container...) container(); - container(const container&); + container(const container& other); bool empty() const; size_type size() const; diff --git a/Lib/std/std_ios.i b/Lib/std/std_ios.i index db83c7abf..7c62ed690 100644 --- a/Lib/std/std_ios.i +++ b/Lib/std/std_ios.i @@ -153,10 +153,10 @@ namespace std { //50. Copy constructor and assignment operator of ios_base private: - ios_base(const ios_base&); + ios_base(const ios_base& other); ios_base& - operator=(const ios_base&); + operator=(const ios_base& other); }; template<typename _CharT, typename _Traits = char_traits<_CharT> > @@ -242,10 +242,10 @@ namespace std { // 27.4.5.1 basic_ios constructors basic_ios(); private: - basic_ios(const basic_ios&); + basic_ios(const basic_ios& other); basic_ios& - operator=(const basic_ios&); + operator=(const basic_ios& other); }; } diff --git a/Lib/std/std_iostream.i b/Lib/std/std_iostream.i index 7a33afe39..38a22963f 100644 --- a/Lib/std/std_iostream.i +++ b/Lib/std/std_iostream.i @@ -306,15 +306,15 @@ namespace std template<typename _CharT, typename _Traits = char_traits<_CharT> > std::basic_ostream<_CharT, _Traits>& - endl(std::basic_ostream<_CharT, _Traits>&); + endl(std::basic_ostream<_CharT, _Traits>& value); template<typename _CharT, typename _Traits = char_traits<_CharT> > std::basic_ostream<_CharT, _Traits>& - ends(std::basic_ostream<_CharT, _Traits>&); + ends(std::basic_ostream<_CharT, _Traits>& value); template<typename _CharT, typename _Traits = char_traits<_CharT> > std::basic_ostream<_CharT, _Traits>& - flush(std::basic_ostream<_CharT, _Traits>&); + flush(std::basic_ostream<_CharT, _Traits>& value); } namespace std { diff --git a/Lib/std/std_map.i b/Lib/std/std_map.i index 8043f924c..36c037860 100644 --- a/Lib/std/std_map.i +++ b/Lib/std/std_map.i @@ -113,7 +113,7 @@ namespace std { %typemap_traits_ptr(SWIG_TYPECHECK_MAP, std::map< _Key, _Tp, _Compare, _Alloc >); - map( const _Compare& ); + map(const _Compare& other); #ifdef %swig_map_methods // Add swig/language extra methods diff --git a/Lib/std/std_multimap.i b/Lib/std/std_multimap.i index 7aa949907..983a5d8fd 100644 --- a/Lib/std/std_multimap.i +++ b/Lib/std/std_multimap.i @@ -89,7 +89,7 @@ namespace std { %typemap_traits_ptr(SWIG_TYPECHECK_MULTIMAP, std::multimap< _Key, _Tp, _Compare, _Alloc >); - multimap( const _Compare& ); + multimap(const _Compare& other); #ifdef %swig_multimap_methods // Add swig/language extra methods diff --git a/Lib/std/std_multiset.i b/Lib/std/std_multiset.i index 1aa7ccce8..a1d0db813 100644 --- a/Lib/std/std_multiset.i +++ b/Lib/std/std_multiset.i @@ -71,7 +71,7 @@ namespace std { %typemap_traits_ptr(SWIG_TYPECHECK_MULTISET, std::multiset< _Key, _Compare, _Alloc >); - multiset( const _Compare& ); + multiset(const _Compare& other); #ifdef %swig_multiset_methods // Add swig/language extra methods diff --git a/Lib/std/std_queue.i b/Lib/std/std_queue.i index b2c8d8d33..51bb04473 100644 --- a/Lib/std/std_queue.i +++ b/Lib/std/std_queue.i @@ -13,14 +13,14 @@ %define %std_queue_methods(queue...) queue(); - queue( const _Sequence& ); + queue(const _Sequence& other); bool empty() const; size_type size() const; const value_type& front() const; const value_type& back() const; void pop(); - void push( const value_type& ); + void push(const value_type& value); %enddef %define %std_queue_methods_val(queue...) diff --git a/Lib/std/std_set.i b/Lib/std/std_set.i index 107a23c71..0e05aca40 100644 --- a/Lib/std/std_set.i +++ b/Lib/std/std_set.i @@ -8,7 +8,7 @@ // Set %define %std_set_methods_common(set...) set(); - set( const set& ); + set(const set& other); bool empty() const; size_type size() const; @@ -110,7 +110,7 @@ namespace std { %typemap_traits_ptr(SWIG_TYPECHECK_SET, std::set< _Key, _Compare, _Alloc >); - set( const _Compare& ); + set(const _Compare& other); #ifdef %swig_set_methods // Add swig/language extra methods diff --git a/Lib/std/std_stack.i b/Lib/std/std_stack.i index 5b624b571..ff714d099 100644 --- a/Lib/std/std_stack.i +++ b/Lib/std/std_stack.i @@ -13,13 +13,13 @@ %define %std_stack_methods(stack...) stack(); - stack( const _Sequence& ); + stack(const _Sequence& other); bool empty() const; size_type size() const; const value_type& top() const; void pop(); - void push( const value_type& ); + void push(const value_type& value); %enddef %define %std_stack_methods_val(stack...) diff --git a/Lib/std/std_streambuf.i b/Lib/std/std_streambuf.i index 7efb19c6c..e17249135 100644 --- a/Lib/std/std_streambuf.i +++ b/Lib/std/std_streambuf.i @@ -81,7 +81,7 @@ namespace std { basic_streambuf(); private: - basic_streambuf(const basic_streambuf&); + basic_streambuf(const basic_streambuf& other); }; } diff --git a/Lib/std/std_unordered_set.i b/Lib/std/std_unordered_set.i index 75e955c4b..133246da8 100644 --- a/Lib/std/std_unordered_set.i +++ b/Lib/std/std_unordered_set.i @@ -8,7 +8,7 @@ // Unordered Set %define %std_unordered_set_methods_common(unordered_set...) unordered_set(); - unordered_set( const unordered_set& ); + unordered_set(const unordered_set& other); bool empty() const; size_type size() const; diff --git a/Lib/tcl/std_map.i b/Lib/tcl/std_map.i index 96e7cae80..d59537922 100644 --- a/Lib/tcl/std_map.i +++ b/Lib/tcl/std_map.i @@ -27,7 +27,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; diff --git a/Lib/tcl/std_vector.i b/Lib/tcl/std_vector.i index 3fc0fd61d..71913f389 100644 --- a/Lib/tcl/std_vector.i +++ b/Lib/tcl/std_vector.i @@ -210,7 +210,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); unsigned int size() const; bool empty() const; @@ -361,7 +361,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); unsigned int size() const; bool empty() const; |