You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/03/16 01:00:27 UTC
[jira] Created: (STDCXX-767) [LVS _222612Y41] errors on
std::money_get extracting space
[LVS _222612Y41] errors on std::money_get extracting space
----------------------------------------------------------
Key: STDCXX-767
URL: https://issues.apache.org/jira/browse/STDCXX-767
Project: C++ Standard Library
Issue Type: Bug
Components: 22. Localization
Affects Versions: 4.2.0, 4.1.4, 4.1.3, 4.1.2
Reporter: Martin Sebor
Priority: Minor
The Plum Hall test lvs07a/conform/t228.dir/_222612Y41.cpp that exercises the {{std::money_get}} facet fails at runtime with the following errors:
{noformat}
$ ./_222612Y41
***** Reached first test *****
ERROR in _222612Y41.cpp at line 85: "" != "-12345678901234"
ERROR in _222612Y41.cpp at line 88: (49) != (121)
#FAILED: _222612Y41 (><)
***** 4 individual successful items in _222612Y41 *****
***** 0 successful test cases in _222612Y41 *****
***** 1 error detected in _222612Y41 *****
***** 0 skipped sections in _222612Y41 *****
{noformat}
The expects whitespace to be optional where the {{money_base::space}} specifier appears in the pattern format.
According to [locale.money.get.virtuals] para. 2:
{quote}
Where space or none appears in the format pattern, except at the end,
optional white space (as recognized by ct.is) is consumed after any
required space.
{quote}
We interpret this to mean that:
* where money_base::space appears in the format at least one space is required, and
* where money_base::none appears space is allowed but not required
but other interpretations may be plausible. Clearly Plum Hall must read it differently. Seems like an issue in the standard. I've posted a question to [mailto:c++std-lib@accu.org] to get a clarification.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STDCXX-767) [LVS _222612Y41] errors on
std::money_get extracting space
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598389#action_12598389 ]
Martin Sebor commented on STDCXX-767:
-------------------------------------
This will be issue [836|http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#836] in the upcoming committee mailing.
> [LVS _222612Y41] errors on std::money_get extracting space
> ----------------------------------------------------------
>
> Key: STDCXX-767
> URL: https://issues.apache.org/jira/browse/STDCXX-767
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 22. Localization
> Affects Versions: 4.1.2, 4.1.3, 4.1.4, 4.2.0
> Reporter: Martin Sebor
> Priority: Minor
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> The Plum Hall test lvs07a/conform/t228.dir/_222612Y41.cpp that exercises the {{std::money_get}} facet fails at runtime with the following errors:
> {noformat}
> $ ./_222612Y41
> ***** Reached first test *****
> ERROR in _222612Y41.cpp at line 85: "" != "-12345678901234"
> ERROR in _222612Y41.cpp at line 88: (49) != (121)
> #FAILED: _222612Y41 (><)
> ***** 4 individual successful items in _222612Y41 *****
> ***** 0 successful test cases in _222612Y41 *****
> ***** 1 error detected in _222612Y41 *****
> ***** 0 skipped sections in _222612Y41 *****
> {noformat}
> The expects whitespace to be optional where the {{money_base::space}} specifier appears in the pattern format.
> According to [locale.money.get.virtuals] para. 2:
> {quote}
> Where space or none appears in the format pattern, except at the end,
> optional white space (as recognized by ct.is) is consumed after any
> required space.
> {quote}
> We interpret this to mean that:
> * where money_base::space appears in the format at least one space is required, and
> * where money_base::none appears space is allowed but not required
> but other interpretations may be plausible. Clearly Plum Hall must read it differently. Seems like an issue in the standard. I've posted a question to [mailto:c++std-lib@accu.org] to get a clarification.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-767) [LWG #836] LVS _222612Y41 errors on
std::money_get extracting space
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-767:
--------------------------------
Affects Version/s: 4.2.1
Fix Version/s: 4.3
Summary: [LWG #836] LVS _222612Y41 errors on std::money_get extracting space (was: [LVS _222612Y41] errors on std::money_get extracting space)
Scheduled for 4.3 assuming there's support for the resolution proposed in issue 836 (if so, we'll be able to close the issue then).
> [LWG #836] LVS _222612Y41 errors on std::money_get extracting space
> -------------------------------------------------------------------
>
> Key: STDCXX-767
> URL: https://issues.apache.org/jira/browse/STDCXX-767
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 22. Localization
> Affects Versions: 4.1.2, 4.1.3, 4.1.4, 4.2.0, 4.2.1
> Reporter: Martin Sebor
> Priority: Minor
> Fix For: 4.3
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> The Plum Hall test lvs07a/conform/t228.dir/_222612Y41.cpp that exercises the {{std::money_get}} facet fails at runtime with the following errors:
> {noformat}
> $ ./_222612Y41
> ***** Reached first test *****
> ERROR in _222612Y41.cpp at line 85: "" != "-12345678901234"
> ERROR in _222612Y41.cpp at line 88: (49) != (121)
> #FAILED: _222612Y41 (><)
> ***** 4 individual successful items in _222612Y41 *****
> ***** 0 successful test cases in _222612Y41 *****
> ***** 1 error detected in _222612Y41 *****
> ***** 0 skipped sections in _222612Y41 *****
> {noformat}
> The expects whitespace to be optional where the {{money_base::space}} specifier appears in the pattern format.
> According to [locale.money.get.virtuals] para. 2:
> {quote}
> Where space or none appears in the format pattern, except at the end,
> optional white space (as recognized by ct.is) is consumed after any
> required space.
> {quote}
> We interpret this to mean that:
> * where money_base::space appears in the format at least one space is required, and
> * where money_base::none appears space is allowed but not required
> but other interpretations may be plausible. Clearly Plum Hall must read it differently. Seems like an issue in the standard. I've posted a question to [mailto:c++std-lib@accu.org] to get a clarification.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.