|
@@ -117,7 +117,7 @@ int main()
|
|
|
assert(ex == -123456789);
|
|
|
}
|
|
|
{ // zero, showbase
|
|
|
- std::string v = "0,00 \u20ac"; // €
|
|
|
+ std::string v = "0,00 \u20ac"; // EURO SIGN
|
|
|
showbase(ios);
|
|
|
typedef input_iterator<const char*> I;
|
|
|
long double ex;
|
|
@@ -129,7 +129,7 @@ int main()
|
|
|
assert(ex == 0);
|
|
|
}
|
|
|
{ // zero, showbase
|
|
|
- std::string v = "0,00 \u20ac"; // €
|
|
|
+ std::string v = "0,00 \u20ac"; // EURO SIGN
|
|
|
showbase(ios);
|
|
|
typedef input_iterator<const char*> I;
|
|
|
long double ex;
|
|
@@ -141,7 +141,7 @@ int main()
|
|
|
assert(ex == 0);
|
|
|
}
|
|
|
{ // negative one, showbase
|
|
|
- std::string v = "-0,01 \u20ac";
|
|
|
+ std::string v = "-0,01 \u20ac"; // EURO SIGN
|
|
|
typedef input_iterator<const char*> I;
|
|
|
long double ex;
|
|
|
std::ios_base::iostate err = std::ios_base::goodbit;
|
|
@@ -152,7 +152,7 @@ int main()
|
|
|
assert(ex == -1);
|
|
|
}
|
|
|
{ // negative one, showbase
|
|
|
- std::string v = "-0,01 \u20ac";
|
|
|
+ std::string v = "-0,01 \u20ac"; // EURO SIGN
|
|
|
showbase(ios);
|
|
|
typedef input_iterator<const char*> I;
|
|
|
long double ex;
|
|
@@ -164,7 +164,7 @@ int main()
|
|
|
assert(ex == -1);
|
|
|
}
|
|
|
{ // positive, showbase
|
|
|
- std::string v = "1 234 567,89 \u20ac";
|
|
|
+ std::string v = "1 234 567,89 \u20ac"; // EURO SIGN
|
|
|
typedef input_iterator<const char*> I;
|
|
|
long double ex;
|
|
|
std::ios_base::iostate err = std::ios_base::goodbit;
|
|
@@ -175,7 +175,7 @@ int main()
|
|
|
assert(ex == 123456789);
|
|
|
}
|
|
|
{ // positive, showbase
|
|
|
- std::string v = "1 234 567,89 \u20ac";
|
|
|
+ std::string v = "1 234 567,89 \u20ac"; // EURO SIGN
|
|
|
showbase(ios);
|
|
|
typedef input_iterator<const char*> I;
|
|
|
long double ex;
|
|
@@ -188,7 +188,7 @@ int main()
|
|
|
noshowbase(ios);
|
|
|
}
|
|
|
{ // negative, showbase
|
|
|
- std::string v = "-1 234 567,89 \u20ac";
|
|
|
+ std::string v = "-1 234 567,89 \u20ac"; // EURO SIGN
|
|
|
showbase(ios);
|
|
|
typedef input_iterator<const char*> I;
|
|
|
long double ex;
|
|
@@ -450,7 +450,7 @@ int main()
|
|
|
assert(ex == -123456789);
|
|
|
}
|
|
|
{ // zero, showbase
|
|
|
- std::wstring v = L"0,00 \u20ac";
|
|
|
+ std::wstring v = L"0,00 \u20ac"; // EURO SIGN
|
|
|
showbase(ios);
|
|
|
typedef input_iterator<const wchar_t*> I;
|
|
|
long double ex;
|
|
@@ -462,7 +462,7 @@ int main()
|
|
|
assert(ex == 0);
|
|
|
}
|
|
|
{ // zero, showbase
|
|
|
- std::wstring v = L"0,00 \u20ac";
|
|
|
+ std::wstring v = L"0,00 \u20ac"; // EURO SIGN
|
|
|
showbase(ios);
|
|
|
typedef input_iterator<const wchar_t*> I;
|
|
|
long double ex;
|
|
@@ -474,7 +474,7 @@ int main()
|
|
|
assert(ex == 0);
|
|
|
}
|
|
|
{ // negative one, showbase
|
|
|
- std::wstring v = L"-0,01 \u20ac";
|
|
|
+ std::wstring v = L"-0,01 \u20ac"; // EURO SIGN
|
|
|
typedef input_iterator<const wchar_t*> I;
|
|
|
long double ex;
|
|
|
std::ios_base::iostate err = std::ios_base::goodbit;
|
|
@@ -485,7 +485,7 @@ int main()
|
|
|
assert(ex == -1);
|
|
|
}
|
|
|
{ // negative one, showbase
|
|
|
- std::wstring v = L"-0,01 \u20ac";
|
|
|
+ std::wstring v = L"-0,01 \u20ac"; // EURO SIGN
|
|
|
showbase(ios);
|
|
|
typedef input_iterator<const wchar_t*> I;
|
|
|
long double ex;
|
|
@@ -497,7 +497,7 @@ int main()
|
|
|
assert(ex == -1);
|
|
|
}
|
|
|
{ // positive, showbase
|
|
|
- std::wstring v = L"1 234 567,89 \u20ac";
|
|
|
+ std::wstring v = L"1 234 567,89 \u20ac"; // EURO SIGN
|
|
|
typedef input_iterator<const wchar_t*> I;
|
|
|
long double ex;
|
|
|
std::ios_base::iostate err = std::ios_base::goodbit;
|
|
@@ -508,7 +508,7 @@ int main()
|
|
|
assert(ex == 123456789);
|
|
|
}
|
|
|
{ // positive, showbase
|
|
|
- std::wstring v = L"1 234 567,89 \u20ac";
|
|
|
+ std::wstring v = L"1 234 567,89 \u20ac"; // EURO SIGN
|
|
|
showbase(ios);
|
|
|
typedef input_iterator<const wchar_t*> I;
|
|
|
long double ex;
|
|
@@ -521,7 +521,7 @@ int main()
|
|
|
noshowbase(ios);
|
|
|
}
|
|
|
{ // negative, showbase
|
|
|
- std::wstring v = L"-1 234 567,89 \u20ac";
|
|
|
+ std::wstring v = L"-1 234 567,89 \u20ac"; // EURO SIGN
|
|
|
showbase(ios);
|
|
|
typedef input_iterator<const wchar_t*> I;
|
|
|
long double ex;
|