title: how to get std::list <std::string>::iterator to output error value?
body: <p>I'm searching through a list of values, and want to have it return some sort of 'default' error value when it cant find the value to search for. I don't mean <code>std::cerr</code>. i mean a value that i can use in my program like a bool. However, if it does find the string, I need the pointer value of where it is in the string. How do I do this?</p>