-
Notifications
You must be signed in to change notification settings - Fork 30
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
first stab at improving set_union #25
first stab at improving set_union #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. Please make the collections const in function arguments, and make the respective changes in hpp files too. For reference see function signature of min or max.
Meanwhile, I'll look into what can be done with the varidac implementation. |
one idea for doing union of variadic parameter of sets is to:
|
@farziengineer sorry I didn't see the |
No problem 🙂. Actually you are right, some function declaration are not there in .hpp files.#12 |
Hi please configure your email and username locally, otherwise your contributions won't be shown. |
@farziengineer how do I do that? Set the config locally and then push again? |
I do not think this would be a good idea. You can configure it now and your future commits would be shown on the profile. You can also search on Google if there is some workaround. |
My friend helped me add my other committing email to my github account - so now it should be fine 😸 |
feedback is very welcome.
I'm thinking that instead of making the variadic case recursive, we could put each of the provided collections in a vector and do something around that... although keeping track of which collection had the minimum value in order to advance might be too much calculation 🤔