#1174 std::pair in error messages
#1174 std::pair in error messages