Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a pair class #97

Open
eyalroz opened this issue Sep 4, 2021 · 0 comments
Open

Add a pair class #97

eyalroz opened this issue Sep 4, 2021 · 0 comments
Labels
enhancement New feature or request Task

Comments

@eyalroz
Copy link
Owner

eyalroz commented Sep 4, 2021

Yes, you knew it had to happen at some point... one of the ugliest, wartiest class in C++, which you would have like to just replace with:

template <typename T1, typename T2> struct pair { T1 first; T2 second; }

and be done with it... we need to implement an std::pair equivalent. If for no other reason, then for #18, as some of the standard algorithms use pairs.

@eyalroz eyalroz added enhancement New feature or request Task labels Sep 4, 2021
eyalroz added a commit that referenced this issue Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Task
Projects
None yet
Development

No branches or pull requests

1 participant