definitely something i'd throw to cerr, but that's just for knowledge. also std:: shouldn't be needed if you're using namespace std.