Commit 895510be by Paolo Carlini Committed by Paolo Carlini

1.cc: Remove junk.

2004-04-09  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/22_locale/messages/members/char/1.cc: Remove junk.
	* testsuite/22_locale/messages/members/char/2.cc: Ditto.
	* testsuite/22_locale/messages/members/char/3.cc: Ditto.
	* testsuite/22_locale/num_get/get/char/1.cc: Ditto.
	* testsuite/22_locale/num_get/get/char/2.cc: Ditto.
	* testsuite/22_locale/num_get/get/char/3.cc: Ditto.
	* testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto.
	* testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto.
	* testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto.
	* testsuite/22_locale/num_put/put/char/1.cc: Ditto.
	* testsuite/22_locale/num_put/put/char/2.cc: Ditto.
	* testsuite/22_locale/num_put/put/char/3.cc: Ditto.
	* testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto.
	* testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto.
	* testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto.
	* testsuite/22_locale/numpunct/members/char/1.cc: Ditto.
	* testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto.

From-SVN: r80545
parent a8aea176
2004-04-09 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/messages/members/char/1.cc: Remove junk.
* testsuite/22_locale/messages/members/char/2.cc: Ditto.
* testsuite/22_locale/messages/members/char/3.cc: Ditto.
* testsuite/22_locale/num_get/get/char/1.cc: Ditto.
* testsuite/22_locale/num_get/get/char/2.cc: Ditto.
* testsuite/22_locale/num_get/get/char/3.cc: Ditto.
* testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto.
* testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto.
* testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto.
* testsuite/22_locale/num_put/put/char/1.cc: Ditto.
* testsuite/22_locale/num_put/put/char/2.cc: Ditto.
* testsuite/22_locale/num_put/put/char/3.cc: Ditto.
* testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto.
* testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto.
* testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto.
* testsuite/22_locale/numpunct/members/char/1.cc: Ditto.
* testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto.
2004-04-07 Paolo Carlini <pcarlini@suse.de> 2004-04-07 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/time_members.cc * config/locale/generic/time_members.cc
......
// 2001-07-17 Benjamin Kosnik <bkoz@redhat.com> // 2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -35,13 +35,8 @@ void test01() ...@@ -35,13 +35,8 @@ void test01()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_us = __gnu_test::try_named_locale("en_US");
locale loc_fr = __gnu_test::try_named_locale("fr_FR");
locale loc_de = __gnu_test::try_named_locale("de_DE"); locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de ); VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
VERIFY( loc_de != loc_fr );
// cache the messages facets // cache the messages facets
const messages<char>& mssg_de = use_facet<messages<char> >(loc_de); const messages<char>& mssg_de = use_facet<messages<char> >(loc_de);
......
// 2001-07-17 Benjamin Kosnik <bkoz@redhat.com> // 2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -35,13 +35,8 @@ void test02() ...@@ -35,13 +35,8 @@ void test02()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_us = __gnu_test::try_named_locale("en_US");
locale loc_fr = __gnu_test::try_named_locale("fr_FR"); locale loc_fr = __gnu_test::try_named_locale("fr_FR");
locale loc_de = __gnu_test::try_named_locale("de_DE"); VERIFY( loc_c != loc_fr );
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
VERIFY( loc_de != loc_fr );
// cache the messages facets // cache the messages facets
const messages<char>& mssg_fr = use_facet<messages<char> >(loc_fr); const messages<char>& mssg_fr = use_facet<messages<char> >(loc_fr);
......
// 2001-07-17 Benjamin Kosnik <bkoz@redhat.com> // 2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -37,11 +37,8 @@ void test03() ...@@ -37,11 +37,8 @@ void test03()
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_us = __gnu_test::try_named_locale("en_US"); locale loc_us = __gnu_test::try_named_locale("en_US");
locale loc_fr = __gnu_test::try_named_locale("fr_FR"); locale loc_fr = __gnu_test::try_named_locale("fr_FR");
locale loc_de = __gnu_test::try_named_locale("de_DE"); VERIFY( loc_c != loc_us );
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr ); VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
VERIFY( loc_de != loc_fr );
// cache the messages facets // cache the messages facets
const messages<char>& mssg_us = use_facet<messages<char> >(loc_us); const messages<char>& mssg_us = use_facet<messages<char> >(loc_us);
......
// 2001-11-21 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-21 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -33,13 +33,8 @@ void test01() ...@@ -33,13 +33,8 @@ void test01()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
locale loc_de = __gnu_test::try_named_locale("de_DE"); locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de ); VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// sanity check the data is correct. // sanity check the data is correct.
const string empty; const string empty;
......
// 2001-11-21 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-21 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -33,13 +33,6 @@ void test02() ...@@ -33,13 +33,6 @@ void test02()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// sanity check the data is correct. // sanity check the data is correct.
const string empty; const string empty;
......
// 2001-11-21 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-21 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -34,12 +34,7 @@ void test03() ...@@ -34,12 +34,7 @@ void test03()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK"); locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro"); VERIFY( loc_c != loc_hk );
locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// sanity check the data is correct. // sanity check the data is correct.
const string empty; const string empty;
......
// 2001-11-21 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-21 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -33,13 +33,8 @@ void test01() ...@@ -33,13 +33,8 @@ void test01()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
locale loc_de = __gnu_test::try_named_locale("de_DE"); locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de ); VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// sanity check the data is correct. // sanity check the data is correct.
const wstring empty; const wstring empty;
......
// 2001-11-21 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-21 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -33,13 +33,6 @@ void test02() ...@@ -33,13 +33,6 @@ void test02()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// sanity check the data is correct. // sanity check the data is correct.
const wstring empty; const wstring empty;
......
// 2001-11-21 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-21 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -34,12 +34,7 @@ void test03() ...@@ -34,12 +34,7 @@ void test03()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK"); locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro"); VERIFY( loc_c != loc_hk );
locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// sanity check the data is correct. // sanity check the data is correct.
const wstring empty; const wstring empty;
......
// 2001-11-19 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-19 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -33,13 +33,8 @@ void test01() ...@@ -33,13 +33,8 @@ void test01()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
locale loc_de = __gnu_test::try_named_locale("de_DE"); locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de ); VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// cache the numpunct facets // cache the numpunct facets
const numpunct<char>& numpunct_de = use_facet<numpunct<char> >(loc_de); const numpunct<char>& numpunct_de = use_facet<numpunct<char> >(loc_de);
......
// 2001-11-19 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-19 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -33,13 +33,6 @@ void test02() ...@@ -33,13 +33,6 @@ void test02()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// sanity check the data is correct. // sanity check the data is correct.
const string empty; const string empty;
......
// 2001-11-19 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-19 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -34,12 +34,7 @@ void test03() ...@@ -34,12 +34,7 @@ void test03()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK"); locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro"); VERIFY( loc_c != loc_hk );
locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// sanity check the data is correct. // sanity check the data is correct.
const string empty; const string empty;
......
// 2001-11-19 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-19 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -33,13 +33,8 @@ void test01() ...@@ -33,13 +33,8 @@ void test01()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
locale loc_de = __gnu_test::try_named_locale("de_DE"); locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de ); VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// cache the numpunct facets // cache the numpunct facets
const numpunct<wchar_t>& numpunct_de = use_facet<numpunct<wchar_t> >(loc_de); const numpunct<wchar_t>& numpunct_de = use_facet<numpunct<wchar_t> >(loc_de);
......
// 2001-11-19 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-19 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -33,13 +33,6 @@ void test02() ...@@ -33,13 +33,6 @@ void test02()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// sanity check the data is correct. // sanity check the data is correct.
const wstring empty; const wstring empty;
......
// 2001-11-19 Benjamin Kosnik <bkoz@redhat.com> // 2001-11-19 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -34,12 +34,7 @@ void test03() ...@@ -34,12 +34,7 @@ void test03()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_hk = __gnu_test::try_named_locale("en_HK"); locale loc_hk = __gnu_test::try_named_locale("en_HK");
locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro"); VERIFY( loc_c != loc_hk );
locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
VERIFY( loc_de != loc_fr );
// sanity check the data is correct. // sanity check the data is correct.
const wstring empty; const wstring empty;
......
// 2001-01-17 Benjamin Kosnik <bkoz@redhat.com> // 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -31,13 +31,6 @@ void test01() ...@@ -31,13 +31,6 @@ void test01()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_us = __gnu_test::try_named_locale("en_US");
locale loc_fr = __gnu_test::try_named_locale("fr_FR");
locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
VERIFY( loc_de != loc_fr );
// cache the numpunct facets // cache the numpunct facets
const numpunct<char>& nump_c = use_facet<numpunct<char> >(loc_c); const numpunct<char>& nump_c = use_facet<numpunct<char> >(loc_c);
......
// 2001-01-17 Benjamin Kosnik <bkoz@redhat.com> // 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
// Copyright (C) 2001, 2002, 2003 Free Software Foundation // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -31,13 +31,6 @@ void test01() ...@@ -31,13 +31,6 @@ void test01()
// basic construction // basic construction
locale loc_c = locale::classic(); locale loc_c = locale::classic();
locale loc_us = __gnu_test::try_named_locale("en_US");
locale loc_fr = __gnu_test::try_named_locale("fr_FR");
locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
VERIFY( loc_de != loc_fr );
// cache the numpunct facets // cache the numpunct facets
const numpunct<wchar_t>& nump_c = use_facet<numpunct<wchar_t> >(loc_c); const numpunct<wchar_t>& nump_c = use_facet<numpunct<wchar_t> >(loc_c);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment