Namespaces
Variants
Views
Actions

Talk:cpp/container/set/erase

From cppreference.com

The comment in the code example is incorrect:

// erase all even numbers from c

It removes all odd numbers instead.

This is just like real life, comments become unreliable as code changes. Thank you for spotting it, comment updated. --Cubbi (talk) 07:58, 9 June 2015 (PDT)