sca-c-cpp message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [sca-c-cpp] NEW ISSUE: Requirements on cpp:parameter/@type too lax
- From: Andrew Borley <BORLEY@uk.ibm.com>
- To: "David Haney" <haney@roguewave.com>
- Date: Thu, 28 May 2009 12:42:47 +0100
This issue has been assigned id CCPP-74
in the Jira system.
See http://www.osoa.org/jira/browse/CCPP-74
Andrew
____________________________________________________________
Andrew Borley
Websphere ESB Development
Tel: 245393 Ext: +44 (0) 1962 815393 Mob: +44 (0) 7971 805547
E-mail: borley@uk.ibm.com
Mailpoint 211, IBM (UK) Ltd, Hursley Park, Winchester, Hants, SO21 2JN
____________________________________________________________
From:
| "David Haney" <haney@roguewave.com>
|
To:
| <sca-c-cpp@lists.oasis-open.org>
|
Date:
| 27/05/2009 18:50
|
Subject:
| [sca-c-cpp] NEW ISSUE: Requirements
on cpp:parameter/@type too lax |
Target: C++ C&I Specification CD03
Description:
The requirements on the cpp:parameter/@type
attribute (Section D.6) are too lax, and allow specifying any valid C++
type. There isn’t enough information to support conversion to/from
any arbitrary type.
Proposal:
Restrict the allowed types to those explicitly
identified in the spec:
·
type : Name
(0..1) – specifies the type of the parameter or struct member or return
type. The @type attribute of a <cpp:parameter/> element MUST
be a C++ type specified in section 10.3.1.
Rationale:
- Since std::string is a valid type from section
10.3.1, the type of this attribute cannot be NCName. Switched to
Name.
- Since the default mapping is taken from this
table, it seems to be a reasonable subset to choose the mapping from.
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]