11.cc: Remove redundant static_cast-s.
2004-03-19 Paolo Carlini <pcarlini@suse.de> * testsuite/22_locale/num_get/get/char/11.cc: Remove redundant static_cast-s. * testsuite/22_locale/num_get/get/char/12.cc: Likewise. * testsuite/22_locale/num_get/get/char/13.cc: Likewise. * testsuite/22_locale/num_get/get/char/14.cc: Likewise. * testsuite/22_locale/num_get/get/char/15.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise. From-SVN: r79698
This commit is contained in:
parent
829bde683c
commit
28f2a26519
@ -1,3 +1,17 @@
|
||||
2004-03-19 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* testsuite/22_locale/num_get/get/char/11.cc: Remove redundant
|
||||
static_cast-s.
|
||||
* testsuite/22_locale/num_get/get/char/12.cc: Likewise.
|
||||
* testsuite/22_locale/num_get/get/char/13.cc: Likewise.
|
||||
* testsuite/22_locale/num_get/get/char/14.cc: Likewise.
|
||||
* testsuite/22_locale/num_get/get/char/15.cc: Likewise.
|
||||
* testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
|
||||
* testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
|
||||
* testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise.
|
||||
* testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise.
|
||||
* testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
|
||||
|
||||
2004-03-19 Paolo Carlini <pcarlini@suse.de>
|
||||
Petur Runolfsson <peturr02@ru.is>
|
||||
|
||||
|
@ -45,8 +45,8 @@ void test01()
|
||||
bool test __attribute__((unused)) = true;
|
||||
|
||||
istringstream iss1, iss2;
|
||||
iss1.imbue(locale(iss1.getloc(), static_cast<numpunct<char>*>(new Punct1)));
|
||||
iss2.imbue(locale(iss2.getloc(), static_cast<numpunct<char>*>(new Punct2)));
|
||||
iss1.imbue(locale(iss1.getloc(), new Punct1));
|
||||
iss2.imbue(locale(iss2.getloc(), new Punct2));
|
||||
const num_get<char>& ng1 = use_facet<num_get<char> >(iss1.getloc());
|
||||
const num_get<char>& ng2 = use_facet<num_get<char> >(iss2.getloc());
|
||||
|
||||
|
@ -47,8 +47,8 @@ void test01()
|
||||
bool test __attribute__((unused)) = true;
|
||||
|
||||
istringstream iss1, iss2;
|
||||
iss1.imbue(locale(iss1.getloc(), static_cast<numpunct<char>*>(new Punct1)));
|
||||
iss2.imbue(locale(iss2.getloc(), static_cast<numpunct<char>*>(new Punct2)));
|
||||
iss1.imbue(locale(iss1.getloc(), new Punct1));
|
||||
iss2.imbue(locale(iss2.getloc(), new Punct2));
|
||||
const num_get<char>& ng1 = use_facet<num_get<char> >(iss1.getloc());
|
||||
const num_get<char>& ng2 = use_facet<num_get<char> >(iss2.getloc());
|
||||
|
||||
|
@ -39,8 +39,8 @@ void test01()
|
||||
bool test __attribute__((unused)) = true;
|
||||
|
||||
istringstream iss1, iss2;
|
||||
iss1.imbue(locale(iss1.getloc(), static_cast<numpunct<char>*>(new Punct1)));
|
||||
iss2.imbue(locale(iss2.getloc(), static_cast<numpunct<char>*>(new Punct2)));
|
||||
iss1.imbue(locale(iss1.getloc(), new Punct1));
|
||||
iss2.imbue(locale(iss2.getloc(), new Punct2));
|
||||
const num_get<char>& ng1 = use_facet<num_get<char> >(iss1.getloc());
|
||||
const num_get<char>& ng2 = use_facet<num_get<char> >(iss2.getloc());
|
||||
|
||||
|
@ -37,7 +37,7 @@ void test01()
|
||||
bool test __attribute__((unused)) = true;
|
||||
|
||||
istringstream iss;
|
||||
iss.imbue(locale(iss.getloc(), static_cast<numpunct<char>*>(new Punct)));
|
||||
iss.imbue(locale(iss.getloc(), new Punct));
|
||||
const num_get<char>& ng = use_facet<num_get<char> >(iss.getloc());
|
||||
|
||||
ios_base::iostate err = ios_base::goodbit;
|
||||
|
@ -44,8 +44,8 @@ void test01()
|
||||
bool test __attribute__((unused)) = true;
|
||||
|
||||
istringstream iss1, iss2;
|
||||
iss1.imbue(locale(iss1.getloc(), static_cast<numpunct<char>*>(new Punct1)));
|
||||
iss2.imbue(locale(iss2.getloc(), static_cast<numpunct<char>*>(new Punct2)));
|
||||
iss1.imbue(locale(iss1.getloc(), new Punct1));
|
||||
iss2.imbue(locale(iss2.getloc(), new Punct2));
|
||||
const num_get<char>& ng1 = use_facet<num_get<char> >(iss1.getloc());
|
||||
const num_get<char>& ng2 = use_facet<num_get<char> >(iss2.getloc());
|
||||
|
||||
|
@ -45,8 +45,8 @@ void test01()
|
||||
bool test __attribute__((unused)) = true;
|
||||
|
||||
wistringstream iss1, iss2;
|
||||
iss1.imbue(locale(iss1.getloc(), static_cast<numpunct<wchar_t>*>(new Punct1)));
|
||||
iss2.imbue(locale(iss2.getloc(), static_cast<numpunct<wchar_t>*>(new Punct2)));
|
||||
iss1.imbue(locale(iss1.getloc(), new Punct1));
|
||||
iss2.imbue(locale(iss2.getloc(), new Punct2));
|
||||
const num_get<wchar_t>& ng1 = use_facet<num_get<wchar_t> >(iss1.getloc());
|
||||
const num_get<wchar_t>& ng2 = use_facet<num_get<wchar_t> >(iss2.getloc());
|
||||
|
||||
|
@ -47,8 +47,8 @@ void test01()
|
||||
bool test __attribute__((unused)) = true;
|
||||
|
||||
wistringstream iss1, iss2;
|
||||
iss1.imbue(locale(iss1.getloc(), static_cast<numpunct<wchar_t>*>(new Punct1)));
|
||||
iss2.imbue(locale(iss2.getloc(), static_cast<numpunct<wchar_t>*>(new Punct2)));
|
||||
iss1.imbue(locale(iss1.getloc(), new Punct1));
|
||||
iss2.imbue(locale(iss2.getloc(), new Punct2));
|
||||
const num_get<wchar_t>& ng1 = use_facet<num_get<wchar_t> >(iss1.getloc());
|
||||
const num_get<wchar_t>& ng2 = use_facet<num_get<wchar_t> >(iss2.getloc());
|
||||
|
||||
|
@ -39,8 +39,8 @@ void test01()
|
||||
bool test __attribute__((unused)) = true;
|
||||
|
||||
wistringstream iss1, iss2;
|
||||
iss1.imbue(locale(iss1.getloc(), static_cast<numpunct<wchar_t>*>(new Punct1)));
|
||||
iss2.imbue(locale(iss2.getloc(), static_cast<numpunct<wchar_t>*>(new Punct2)));
|
||||
iss1.imbue(locale(iss1.getloc(), new Punct1));
|
||||
iss2.imbue(locale(iss2.getloc(), new Punct2));
|
||||
const num_get<wchar_t>& ng1 = use_facet<num_get<wchar_t> >(iss1.getloc());
|
||||
const num_get<wchar_t>& ng2 = use_facet<num_get<wchar_t> >(iss2.getloc());
|
||||
|
||||
|
@ -37,7 +37,7 @@ void test01()
|
||||
bool test __attribute__((unused)) = true;
|
||||
|
||||
wistringstream iss;
|
||||
iss.imbue(locale(iss.getloc(), static_cast<numpunct<wchar_t>*>(new Punct)));
|
||||
iss.imbue(locale(iss.getloc(), new Punct));
|
||||
const num_get<wchar_t>& ng = use_facet<num_get<wchar_t> >(iss.getloc());
|
||||
|
||||
ios_base::iostate err = ios_base::goodbit;
|
||||
|
@ -44,8 +44,8 @@ void test01()
|
||||
bool test __attribute__((unused)) = true;
|
||||
|
||||
wistringstream iss1, iss2;
|
||||
iss1.imbue(locale(iss1.getloc(), static_cast<numpunct<wchar_t>*>(new Punct1)));
|
||||
iss2.imbue(locale(iss2.getloc(), static_cast<numpunct<wchar_t>*>(new Punct2)));
|
||||
iss1.imbue(locale(iss1.getloc(), new Punct1));
|
||||
iss2.imbue(locale(iss2.getloc(), new Punct2));
|
||||
const num_get<wchar_t>& ng1 = use_facet<num_get<wchar_t> >(iss1.getloc());
|
||||
const num_get<wchar_t>& ng2 = use_facet<num_get<wchar_t> >(iss2.getloc());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user