main.cpp:9:21: error: invalid operands to binary expression ('const std::string' (aka 'const basic_string, allocator >') and 'const std::vector') std::cout << (s == v) << std::endl; ~ ^ ~ 1 error generated.