Skip to content

Commit f43e422

Browse files
committed
headers: Add missing argument names
1 parent 5094311 commit f43e422

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

headers/deque

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public:
5555
explicit deque(const Allocator& alloc = Allocator());
5656
#else
5757
deque();
58-
explicit deque(const Allocator&);
58+
explicit deque(const Allocator& alloc);
5959
#endif
6060

6161
#if CPPREFERENCE_STDVER <2011

headers/functional

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ struct hash {
356356
typedef Key argument_type;
357357
typedef std::size_t result_type;
358358

359-
std::size_t operator()(const Key&) const;
359+
std::size_t operator()(const Key& key) const;
360360
};
361361
#endif
362362
} // namespace std

headers/ios

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ template<class StateT> class fpos;
2828

2929
class ios_base {
3030
private:
31-
ios_base(const ios_base&);
31+
ios_base(const ios_base& other);
3232
protected:
3333
ios_base();
3434
public:
@@ -185,7 +185,7 @@ protected:
185185
void swap(basic_ios& other);
186186
#endif
187187
private:
188-
basic_ios(const basic_ios&);
188+
basic_ios(const basic_ios& other);
189189
};
190190

191191
typedef basic_ios<char> ios;

headers/list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public:
5555
explicit list(const Allocator& alloc = Allocator());
5656
#else
5757
list();
58-
explicit list(const Allocator&);
58+
explicit list(const Allocator& alloc);
5959
#endif
6060

6161
#if CPPREFERENCE_STDVER <2011

headers/random

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public:
3939
template<class Sseq >
4040
explicit linear_congruential_engine(Sseq& s);
4141

42-
linear_congruential_engine(const linear_congruential_engine&);
42+
linear_congruential_engine(const linear_congruential_engine& other);
4343

4444
void seed(result_type value = default_seed);
4545

@@ -105,7 +105,7 @@ public:
105105
template<class Sseq >
106106
explicit mersenne_twister_engine(Sseq& s);
107107

108-
mersenne_twister_engine(const mersenne_twister_engine&);
108+
mersenne_twister_engine(const mersenne_twister_engine& other);
109109

110110
void seed(result_type value = default_seed);
111111

@@ -186,7 +186,7 @@ public:
186186
template<class Sseq >
187187
explicit subtract_with_carry_engine(Sseq& s);
188188

189-
subtract_with_carry_engine(const subtract_with_carry_engine&);
189+
subtract_with_carry_engine(const subtract_with_carry_engine& other);
190190

191191
void seed(result_type value = default_seed);
192192

headers/regex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public:
315315
std::regex_constants::match_flag_type m =
316316
std::regex_constants::match_default);
317317

318-
regex_iterator(const regex_iterator&);
318+
regex_iterator(const regex_iterator& other);
319319

320320
#if CPPREFERENCE_STDVER>= 2014
321321
regex_iterator(BidirIt, BidirIt,

headers/string

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public:
122122
explicit basic_string(const Allocator& alloc = Allocator());
123123
#else
124124
basic_string();
125-
explicit basic_string(const Allocator&);
125+
explicit basic_string(const Allocator& alloc);
126126
#endif
127127

128128
basic_string(size_type count,

headers/valarray

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ public:
3131
#if CPPREFERENCE_STDVER>= 2011
3232
valarray(valarray&& other);
3333
#endif
34-
valarray(const std::slice_array<T>&);
35-
valarray(const std::gslice_array<T>&);
36-
valarray(const std::mask_array<T>&);
37-
valarray(const std::indirect_array<T>&);
34+
valarray(const std::slice_array<T>& array);
35+
valarray(const std::gslice_array<T>& array);
36+
valarray(const std::mask_array<T>& array);
37+
valarray(const std::indirect_array<T>& array);
3838
#if CPPREFERENCE_STDVER>= 2011
39-
valarray(std::initializer_list<T> il);
39+
valarray(std::initializer_list<T> ilist);
4040
#endif
4141

4242
~valarray();

headers/vector

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public:
5555
explicit vector(const Allocator& alloc = Allocator());
5656
#else
5757
vector();
58-
explicit vector(const Allocator&);
58+
explicit vector(const Allocator& alloc);
5959
#endif
6060

6161
#if CPPREFERENCE_STDVER <2011

0 commit comments

Comments
 (0)