Skip to content

Conversation

MahmoudHamdy00
Copy link
Contributor

use template to the item that we are search for

use template to the item that we are search for
@egonSchiele
Copy link
Owner

I like this change, but lower in the file we're comparing guess and item:

if (guess > item)

Is there a way to indicate in C++ that T can be any type that is comparable?

@egonSchiele egonSchiele merged commit c06ad95 into egonSchiele:master Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants