mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-12 23:26:07 +00:00
@@ -7,11 +7,13 @@ namespace rstl {
|
||||
template < typename L, typename R >
|
||||
class pair {
|
||||
public:
|
||||
L first;
|
||||
R second;
|
||||
|
||||
inline pair() {}
|
||||
inline pair(const L& first, const R& second) : first(first), second(second) {}
|
||||
inline pair(const pair& other) : first(other.first), second(other.second) {}
|
||||
inline void operator=(const pair& other) { first = other.first; second = other.second; }
|
||||
|
||||
L first;
|
||||
R second;
|
||||
};
|
||||
} // namespace rstl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user