Consistent parameter names for std::pair
This commit is contained in:
parent
a6a50d60e1
commit
52063a732b
15 changed files with 51 additions and 51 deletions
|
|
@ -15,12 +15,12 @@ namespace std {
|
|||
|
||||
pair();
|
||||
pair(T first, U second);
|
||||
pair(const pair& p);
|
||||
pair(const pair& other);
|
||||
|
||||
T first;
|
||||
U second;
|
||||
};
|
||||
|
||||
template <class T, class U >
|
||||
pair<T,U> make_pair(const T& t,const U& u);
|
||||
pair<T,U> make_pair(const T& first, const U& second);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue