prime/include/rstl/pair.hpp
Luke Street 61ffa2b5ab main: Add EnsureWorldPakReady
Former-commit-id: 292dfa1eeaf98ad3901dab7cb5c89e9e0006ca77
2022-04-11 18:42:14 -04:00

21 lines
466 B
C++

#ifndef _RSTL_PAIR_HPP
#define _RSTL_PAIR_HPP
#include "types.h"
namespace rstl {
template < typename L, typename R >
class pair {
public:
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
#endif