On 2/2/06, Jonathan Y. Walther <Jonathan.Y.Walther@jpl.nasa.gov> wrote:

No, this does not work:


$ cat jmTest.cc
#include <locale>
int main()
{
  std::locale l;
  bool b = l("a", "A");
  return b;
}

Change the call to:

    bool b = l(std::string("a"), std::string("A"));

I get a return value of 0.

--
Caleb Epstein
caleb dot epstein at gmail dot com