prime/include/rstl/pair.hpp
Henrique Gemignani Passos Lima 95ea39c9cc Add CScriptGenerator
What is even that AcceptScriptMsg


Former-commit-id: 9fcf74b45b890ccff63732d7d178a2c7ab4153d8
2022-11-30 23:26:00 +02:00

21 lines
391 B
C++

#ifndef _RSTL_PAIR
#define _RSTL_PAIR
#include "types.h"
namespace rstl {
template < typename L, typename R >
class pair {
public:
pair() {}
pair(const L& first, const R& second) : first(first), second(second) {}
bool operator==(const pair& other) const { return first == other.first && second == other.second; }
L first;
R second;
};
} // namespace rstl
#endif // _RSTL_PAIR