true if the locales are different. false otherwise.
Example
1 2 3 4 5 6 7 8 9 10 11 12 13
// locale::operator!= example
#include <iostream> // std::cout
#include <locale> // std::locale
int main ()
{
if (std::cout.getloc() != std::locale("C"))
std::cout << "cout is not using the C locale.\n";
else
std::cout << "cout is using the C locale.\n";
return 0;
}