Found a typo in the std::find reference page

Hi,

I think I have found a small typo in the page about std::find

In the "example" section, the second 'else' has a std::cout, and it contains the word "myints" inside the string instead of myvector I believe.

Might be confusing for beginners.

If it's not a mistake, I would very much appreciate an explaination :p

Thank you,

Best,

Tom,
Looks like a typo to me. I would guess whoever wrote that just copied and pasted the code from above. At the bottom of the page there is a link, "Spotted an error? contact us". Click on that and report it.
Hadn't seen the button, which is why I posted here instead, but I will go ahead and do so.

Have a good day,
Best regards,

Tom,
Topic archived. No new replies allowed.