I'm trying to run this comparator:
if (std::find(movements->begin(), movements->end(), commandBuffer) != movements->end())
with:
const std::string movements[8] = {"north", "south", "east", "west", "n", "s", "e", "w"};
where commandBuffer is a std::string.
On MinGW32 9.2.0, I get the following:
error: no match for 'operator==' (operand types are 'const char' and 'const std::__cxx11::basic_string')