mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-13 04:46:08 +00:00
Add headers, clang-format, decompctx.py & more
Former-commit-id: 53f8d3cba7
This commit is contained in:
18
include/rstl/pair.hpp
Normal file
18
include/rstl/pair.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _RSTL_PAIR_HPP
|
||||
#define _RSTL_PAIR_HPP
|
||||
|
||||
#include "types.h"
|
||||
|
||||
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) {}
|
||||
};
|
||||
} // namespace rstl
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user