> -----Original Message----- > From: Martin Sebor [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 22, 2008 9:25 AM > To: dev@stdcxx.apache.org > Subject: Re: //stdcxx/trunk/tests/localization/22_synopsis.cpp > > Eric Lemings wrote: > > > > > >> -----Original Message----- > >> From: Martin Sebor [mailto:[EMAIL PROTECTED] > >> Sent: Monday, April 21, 2008 10:50 AM > >> To: dev@stdcxx.apache.org > >> Subject: Re: //stdcxx/trunk/tests/localization/22_synopsis.cpp > >> > >> Eric Lemings wrote: > >>> > >>> > >>>> -----Original Message----- > >>>> From: Eric Lemings > >>>> Sent: Monday, April 21, 2008 9:43 AM > >>>> To: Martin Sebor; Travis Vitek > >>>> Subject: RE: //stdcxx/trunk/tests/localization/22_synopsis.cpp > >>>> > >>>> > >>>> > > ... > >>>> I'm testing with gcc on Linux and this is not defined which > >>>> in turn leads to compile errors. > >>> And where is get_locale_category()? I can't find it anywhere. > >> See the %{Lc} directive to rw_printf(). Here are some use cases: > >> http://fisheye6.cenqua.com/browse/stdcxx/trunk/tests/self/0.pr > >> intf.cpp?r=trunk#l1061 > >> > >> Martin > > > > What is/was the 2nd boolean parameter to get_locale_category() and > > does it have any bearing on the %{Lc} directive? > > I don't remember off the top of my head. Why don't you look > at the implementation of the function in the old driver: > http://tinyurl.com/3ozfpb >
Ah, it does have bearing on the output. Is there a formatting directive in the test driver that differentiates "std::locale::monetary" from "LC_MONETARY" for example? Brad.